Interested in Personalized Training with Job Assistance?
Create and execute a simple Flask application# Create a new file named app.py in your project folder in VS Code by selecting File > New from the menu, pressing Ctrl+N, or selecting the new file icon in the Explorer View (shown below). Add code to import Flask and construct a Flask object instance in app.py.
You can use one of the following techniques to determine the version of the flask package installed in a given environment. Python interpreter is being used. flask. version import flask. version import flask. version import flask —version is used from the command line. Using pip (if flask was installed using pip or easy install) search flask | pip freeze | grep flask | grep flask | grep flask | grep
Installing the Virtual Environment is the first step. On Linux, install virtualenv:
Have a friend to whom you would want to share this course?