Python Flask Web基本运行模版 https://www.cnblogs.com/iAmSoScArEd/p/14307275.html --我超怕的
from flask import Flask,request app = Flask(__name__) app.config['SECRET_KEY'] = '2f29gu9ghq0)*G*Y8YEG*#FW(E8HEFWEfg5e4$Ef' @app.route('/',methods=['GET'])
@app.route('/<int:page>',methods=['GET']) def index(page=0): return 'success! page:' + str(page) if __name__ == '__main__': app.run(host='0.0.0.0', port=80, debug=False)