Why You Should Use Python if __name__ == "__main__"?
Konstantin Lübeck
Posted on March 9, 2022
Have you ever wondered that Python doesn't have a main function but people are using if __name__ == __main__:
in their code?
Checkout my latest Youtube video and this blog article to find it out why:
https://k0nze.dev/posts/python-name-main/
💖 💪 🙅 🚩
Konstantin Lübeck
Posted on March 9, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.