Getting Started with Flask

You are here:
  • KB Home
  • Getting Started with Flask
< Back
# hello_world.py

from flask import Flask
app = Flask(__name__)

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