Browse Source

Chapter 2: A complete application (2a)

master
T. Meissner 6 years ago
parent
commit
024f9b2844
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      hello.py

+ 6
- 0
hello.py View File

@ -0,0 +1,6 @@
from flask import Flask
app = Flask(__name__)
@app.route('/')
def index():
return '<h1>Hello World!</h1>'

Loading…
Cancel
Save