This commit is contained in:
彭森 2021-12-07 17:02:56 +08:00
commit 7dca4a1448
2 changed files with 16 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
.idea
/venv/
*/__pycache__/
*.cpython-38.pyc

12
app.py Normal file
View File

@ -0,0 +1,12 @@
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello World!'
if __name__ == '__main__':
app.run()