From 024f9b2844c246c009360ccaff34cc4f08c017a7 Mon Sep 17 00:00:00 2001 From: tmeissner Date: Sun, 7 Oct 2018 22:30:55 +0200 Subject: [PATCH] Chapter 2: A complete application (2a) --- hello.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 hello.py diff --git a/hello.py b/hello.py new file mode 100644 index 0000000..5c777ff --- /dev/null +++ b/hello.py @@ -0,0 +1,6 @@ +from flask import Flask +app = Flask(__name__) + +@app.route('/') +def index(): + return '

Hello World!

'