Answers for "Flask(__name__)"

5

flask how to run app

$ export FLASK_APP=hello.py
$ python -m flask run
 * Running on http://127.0.0.1:5000/
Posted by: Guest on April-03-2020
0

if __name__ == '__main__': app.run(debug=True) not running

if __name__=='__main__':
    app.run(debug=DEBUG, host=HOST, port=PORT)
Posted by: Guest on August-03-2020

Code answers related to "Flask(__name__)"

Python Answers by Framework

Browse Popular Code Answers by Language