script that starts a Flask web application: code example
Example: run flask app from script
# I am assuming that you have configured the app name as "app"
if __name__ == "__main__":
app.run()
# I am assuming that you have configured the app name as "app"
if __name__ == "__main__":
app.run()