summaryrefslogtreecommitdiff
path: root/wk9/lect/hello/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'wk9/lect/hello/app.py')
-rw-r--r--wk9/lect/hello/app.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/wk9/lect/hello/app.py b/wk9/lect/hello/app.py
new file mode 100644
index 0000000..bb88884
--- /dev/null
+++ b/wk9/lect/hello/app.py
@@ -0,0 +1,7 @@
+from flask import Flask, render_template, request
+
+app = Flask(__name__)
+
+@app.route("/")
+def index():
+ return "hello, world"