aklimairen / flask

let's learn python library flask
0 stars 0 forks source link

what flask python module?

Flask is a web application framework written in Python. It is a microframework without an ORM (Object Relational Manager) or similar features, and as such, has a compact and simple-to-extend core. Flask is based on the Werkzeg WSGI toolkit and the Jinja2 template engine. The Web Server Gateway Interface (Web Server Gateway Interface, WSGI) has been used as a standard for Python web application development. The template engine and url routing are only two of its many fascinating features.

Werkzeug(toolkit) implements:

jinja2:

Why is Flask a good web framework choice?

from flask import Flask

app = Flask(__name__)

@app.route('/')
    def hello_world():
           return 'Hello World!

if __name__ == '__main__':
app.run()