flask helloworld (flask 1)

2019-08-13 14:33:50 浏览数 (1)

from flask import Flask

app = Flask(name)

@app.route('/hi') @app.route('/') def hello_world(): return 'Hello World!'

if name == 'main': app.run( host='0.0.0.0', port=8888, debug=True )

0 人点赞