

If you’re using Windows: py -m pip -version # You should get something like the one below. If you’re just installing Python, download and install Python, ensure you install it correctly. Optional: Make the virtual environment your default Python.Open a terminal, if you’re using Windows you can open command prompt instead or your IDE’s terminal.You can check the python’s documentation on virtual environment. Jinja2 is useful because it has consistent template tag syntax and the project is cleanly extracted as an independent open source project so it can be used as a dependency by other code libraries.Ī Virtual Environment is an isolated working copy of Python which allows you to work on a specific project without worry of affecting other projects It enables multiple side-by-side installations of Python, one for each project. Jinja : Jinja, also commonly referred to as “Jinja2” to specify the newest release version, is a Python template engine used to create HTML, XML or other markup formats that are returned to the user via an HTTP response.Flask wraps Werkzeug, using it to handle the details of WSGI while providing more structure and patterns for defining powerful applications. It began as a simple collection of various utilities for WSGI applications and has become one of the most advanced WSGI utility libraries. Werkzeug: Werkzeug is a comprehensive WSGI web application library.WSGI web application framework: The Web Server Gateway Interface ( WSGI, pronounced whiskey) is a simple calling convention for web servers to forward requests to web applications or frameworks written in the Python programming language.While defining Flask above, I used some terminologies, let me explain them now. It is commonly referred to as a micro-framework when compared to Django though you can build a strong and great app with it. It began as a simple wrapper around Werkzeug and Jinja and has become one of the most popular Python web application frameworks. It is designed to make getting started quick and easy, with the ability to scale up to complex applications. Flask is a lightweight WSGI web application framework. Flask is a Python Framework for Back End Web Development.
