This commit is contained in:
Jon
2020-09-29 22:06:47 +00:00
commit 701a13f636
5 changed files with 48 additions and 0 deletions

13
app.py Normal file
View File

@@ -0,0 +1,13 @@
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello():
return "Hello There, World!"
@app.route('/<name>')
def hello_stranger(name=None):
return "Hello, %s!" % name
if __name__ == '__main__':
app.run()