What is __name__ in Flask: Let’s Learn Python Together — CODEFATHER

Have you ever asked yourself why when you create a Python Flask application you pass __name__ to the Flask class?

I definitely did when I started working with Flask and in this tutorial I want to make it clear to those of you who would like to know more about it.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Claudio Sabato

Claudio Sabato

I’m a Tech Lead, Software Engineer and Programming Coach. I want to help you in your journey to become a Super Developer!