📜  python hello world web 应用程序 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:40.420000             🧑  作者: Mango

代码示例1
from flask import Flask

app = Flask(__name__)

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

if __name__ == "__main__":
    app.run(host='0.0.0.0', debug=True)