xxxxxxxxxx
# to setup and run the flask script from cmd
export FLASK_APP=YourFileName.py
set FLASK_APP=YourFileName.py
flask run
xxxxxxxxxx
# For bash do this:
set FLASK_APP=<app_name>
# For powershell do this:
$env FLASK_APP=<app_name>
# Run it like this
flask run