We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f6bfc2 commit ff80f58Copy full SHA for ff80f58
app.py
@@ -0,0 +1,13 @@
1
+import redis
2
+from flask import Flask, request, render_template
3
+
4
+app = Flask(__name__)
5
6
+@app.route('/')
7
+def main():
8
+ return render_template("main.html")
9
10
11
+if __name__ == "__main__":
12
+ app.run()
13
templates/main.html
@@ -0,0 +1,7 @@
+<html>
+<head><title>SF Python</title></head>
+<body>
+ <h1>Welcome to the WWW of 1995!</h1>
+</body>
+</html>
0 commit comments