Skip to content

Commit f609697

Browse files
authored
Add files via upload
Flask file to load set along with the index.html file
1 parent c823808 commit f609697

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from flask import Flask, render_template, request
2+
3+
app = Flask(__name__)
4+
5+
@app.route("/")
6+
def index():
7+
name = request.args.get("name")
8+
return render_template("index.html", name=name)

0 commit comments

Comments
 (0)