🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Python Beginner

What is Flask?

A lightweight web framework for Python that provides essentials for building web applications without imposing structure.

Flask is a micro-framework — it provides URL routing, request handling, templates (Jinja2), and development server, but leaves choices like database, forms, and authentication to the developer.

A basic Flask app is just a few lines: create an app, define routes with @app.route(), and return responses. Extensions add functionality: Flask-SQLAlchemy (ORM), Flask-Login (auth), Flask-WTF (forms). Flask is ideal for APIs, prototypes, and applications where you want full control.

Related Terms

Virtual Environment
An isolated Python environment that maintains its own set of packages, independent of the system Python installation.
F-String
A formatted string literal prefixed with f that allows embedding Python expressions directly inside curly braces.
Celery
A distributed task queue for Python that enables asynchronous processing of background jobs and scheduled tasks.
Python Interpreter
The program that reads and executes Python code, translating it into machine instructions at runtime.
Python Descriptors
Objects that define __get__, __set__, or __delete__ methods, controlling how attribute access works on other objects.
Python Wheel
A built distribution format (.whl) that allows faster installation of Python packages by avoiding the need for compilation.
View All Python Terms →