from flask import Flask # 初始化对象 app = Flask(__name__) # 创建函数 @app.route('/moke') def get_res(): res='hello moke' return res if __name__ == '__main__': app.run()
标签:__,name,Flask,res,app,初识,moke From: https://www.cnblogs.com/haha1988/p/17615124.html