running a flask application from a python script 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()