From 801b1ddcdb04721b290bc600b55f65ca3d8b5743 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Tue, 9 Jul 2024 08:36:18 +0000 Subject: Tue, Jul 9, 2024, 1:36 AM -07:00 --- wk9/lect/hello/app.py | 7 +++++++ wk9/lect/hello/templates/index.html | 11 +++++++++++ 2 files changed, 18 insertions(+) create mode 100644 wk9/lect/hello/app.py create mode 100644 wk9/lect/hello/templates/index.html (limited to 'wk9/lect/hello') 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" diff --git a/wk9/lect/hello/templates/index.html b/wk9/lect/hello/templates/index.html new file mode 100644 index 0000000..28aaf9f --- /dev/null +++ b/wk9/lect/hello/templates/index.html @@ -0,0 +1,11 @@ + + + +
+ +