Lab4 - Flask
Lab4 - Flask
Engineering
Implementing a Web App Using Git
and GitHub for version control
(Flask)
Introduction
4. Discover how Flask uses routing to map URLs to Python functions, allowing users
to navigate between pages.
6. Learn how to render HTML templates with Flask using Jinja2, Flask's template
engine.
Flask Installation
open cmd as Administrator and command :
2- mkdir newproj
cd newproj
virtualenv venv
Flask Installation
3- To activate corresponding environment,
On Windows, write the following command :
venv\scripts\activate
venv\Scripts\activate
Python app.py