Flask开撸

2018-02-27 by 伙小

python 3.x

安装 Flask

pip install Flask

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

第七城市

栏目导航(关闭)