# to setup and run the flask script from cmd export FLASK_APP=YourFileName.py set FLASK_APP=YourFileName.py flask run