examples/flask/hello_world.py
from flask import Flask
app = Flask(__name__)
 
@app.route("/")
def hello():
    return "Hello World!"
 
if __name__ == "__main__":
    app.run()
$ python examples/flask/hello_world.py
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)