flask 作用及简单使用
Flask的简单介绍及使用方法简介_珂鸣玉的博客-CSDN博客_flask
简单api搭建
import flask api = flask.Flask(__name__) @api.route('/test1', methods=['get']) def test1(): print('访问到了test1') return '123' if __name__ == '__main__': api.run(port=9911, debug=True, host='127.0.0.1')
标签:__,test1,Python,flask,api,Flask,简单 From: https://www.cnblogs.com/sanrenblog/p/16842791.html