In this case, the only package installed will be Flask. These two lines tell Python to start Flask’s development server when the script is executed from the command line. It’ll be used only when you run the script locally .
Can you run a Python script in Flask?
In this case, the only package installed will be Flask. These two lines tell Python to start Flask’s development server when the script is executed from the command line. It’ll be used only when you run the script locally .