Use the following steps from a terminal to execute the programme outside of the VS Code debugger: Set a variable for FLASK APP in the environment. Use export set FLASK APP=webapp on Linux and macOS, and set FLASK APP=webapp on Windows. python -m flask run python -m flask run python -m flask run python -m flask run python -m flask run py
mkdir myproject. cd myproject.
pip install virtualenv. #Create virtualenv.
from flask import Flask. app = Flask(__name__)
#Tell the terminal what application to run.
#To install Flask-SQLAlchemy.
pip freeze requirements.txt.
pip install -r requirements.txt.
Debug mode is enabled by setting the FLASK ENV environment variable to 'development.' FLASK APP=hello.py $ export FLASK APP=hello.py FLASK ENV=development $ export FLASK ENV=development flask for a dollar Options for running: —version —help displays the flask version Display this message and then quit. Commands: routes Display the app's routes. run Create a development server and run it.
Setting up the virtual environment with Flask in Python 2.1. To set up the environment, we'll use virtualenv to create a virtual environment, and then use Python's PIP package manager to install Flask... 2.2 Flask Installation Let's install Flask now that our virtual environment is complete.
ma'am this session is very well ma'am please prove Django
Very good teching Thank You mam
Great learning experience, can we get the slides used in the lecture ?
Good platform to learn
Er Komal Gupta
very nice understandable....thanku mam
Ayush Kumar Tatia
Mam genuinely thankyou for making it so good , Bhagwaan aapko bhot aage le jaaye , rich log aapke content dekh ke certificate le , i truly wish 😊, mae hi baad mae pay krunge because i be rich futur😊
This is the best course. The way of teaching really appreciable. I would like to watch next course of Rupal Shah like Django if She makes a course in Django with this much details.