Initial Flask Setup
This commit is contained in:
parent
2fd81dbe3e
commit
0ccfd98e32
9 changed files with 13 additions and 39 deletions
11
py/web_flask.py
Normal file
11
py/web_flask.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
from flask import Flask
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
|
||||
@app.route('/')
|
||||
def index():
|
||||
return app.send_static_file('index.html')
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run()
|
Loading…
Add table
Add a link
Reference in a new issue