diff options
Diffstat (limited to 'wk9/lect/froshims/app.py')
-rw-r--r-- | wk9/lect/froshims/app.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/wk9/lect/froshims/app.py b/wk9/lect/froshims/app.py new file mode 100644 index 0000000..8d866f7 --- /dev/null +++ b/wk9/lect/froshims/app.py @@ -0,0 +1,7 @@ +from flask import Flask, render_template, request + +app = Flask(__name__) + +@app.route("/", methods=["GET", "POST"]) +def index(): + return render_template("index.html") |