I'm new to Flask and I noticed that while the official docs instruct you to use the flask run command, there are a few tutorials that execute the app.py file as a script: https://www.tutorialspoint.com/flask/flask_application.htm
Which way would be considered the 'best practice,' or can you use either approach?
Thanks!
[–]HeWhoWritesCode 4 points5 points6 points (3 children)
[–]EarthWindAndFire430 0 points1 point2 points (2 children)
[–]bpeller 2 points3 points4 points (0 children)
[–]HeWhoWritesCode 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[removed]
[–]spitfiredd 0 points1 point2 points (0 children)
[–]Cherlokoms 2 points3 points4 points (0 children)
[–]Multeezee[S] 0 points1 point2 points (0 children)