11 lines
211 B
Python
11 lines
211 B
Python
# app.py
|
|
from *flask* import *Flask*
|
|
|
|
*app* = *Flask*(*__name__*)
|
|
|
|
@app.*route*("/")
|
|
def hello_world():
|
|
return "<h1>Starter Flask App</h1>"
|
|
|
|
if __name__ == '__main__':
|
|
app.run(debug=True, host='0.0.0.0') |