澳门至尊网站-首页

您的位置:澳门至尊网站 > 软件综合 > Flask开撸

Flask开撸

2019-10-25 21:58

python 3.x

Flask开撸,flask

python 3.x

安装 Flask

pip install Flask

 

 

from flask import Flask app = Flask(__name__)   @app.route("/") # take note of this decorator syntax, it's a common pattern def hello():     return "Hello World!"   if __name__ == "__main__":     app.run()

python 3.x 安装 Flask pip install Flask from flask import Flask app = Flask ( __name__ ) @ app . route ( "/" ) # take note of this decorator syntax, it's a co...

安装 Flask

pip install Flask

 

 

from flask import Flask

app = Flask(__name__)

 

@app.route("/") # take note of this decorator syntax, it's a common pattern

def hello():

    return "Hello World!"

 

if __name__ == "__main__":

    app.run()

本文由澳门至尊网站发布于软件综合,转载请注明出处:Flask开撸

关键词:

  • 上一篇:没有了
  • 下一篇:没有了