Flask Notes Introduction
Flask Notes Introduction
What is Flask?
Flask is a web framework that provides libraries to build lightweight
web applications in python. Flask is considered as a web
framework.
Prerequisite
Before learning Flask, you must have the basic knowledge of Python concepts, HTML/CSS
If you are not familiar with Python check https://www.w3schools.com/Python/default.asp
And HTML https://www.w3schools.com/html/default.asp
CSS https://www.w3schools.com/css/default.asp
First Flask application
In this section of the tutorial, we will build our first python website built using the Flask framework.
In this process, open any text editor of your choice as we are using the sublime text editor in this
tutorial.
Write the following lines of code and save to a file named as app.py.
from flask import Flask
app = Flask(__name__)
if __name__ == '__main__':
app.run(debug=True)