📌  相关文章
📜  from flask import Flask app = Flask(__name__) @app.route(' ',methods = ('GET')) def home(): return ('Hello World!!1') if __name__== '_main_': app .run() - Python 代码示例

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

代码示例1
from flask import Flask 

app = Flask(__name__)

@app.route('/',methods = ('GET'))
def home():
    return ('Hello World!!1')

    if __name__== '_main_':
        app.run()