Flask is a Python web development framework based on the Werkzeug, Jinja, MarkupSafe and itsdangerous pallets libraries. It was originally created in 2010 and has since powered some of the largest websites on the internet.
from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello World!" if __name__ == "__main__": app.run()
$ pip install Flask $ python hello.py * Running on http://localhost:5000/
Ready for production? Read this first.