![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
qq_34503002
分享嵌入式Android软件开发知识,GzH:硬核物理,做热爱的自己~~
展开
-
【Python 超实用】打印行号
def PRINT(string): print('func:{}(),line:{},'.format(sys._getframe().f_code.co_name,sys._getframe().f_lineno),end="") # /print('调用该函数的上级为{}'.format(sys._getframe(1).f_code.co_name)) print(string)from flask import Flaskfrom flask import ren.原创 2022-05-27 17:23:47 · 1540 阅读 · 0 评论 -
python Flask 简单操作
from flask import Flaskfrom flask import render_templateapp = Flask(__name__)# @app.route('/index')# def hello_world_index():# return 'hello_world_index!'@app.route('/')def hello_world(): return 'Hello World!'@app.route('/user/<nam.原创 2022-05-25 11:42:05 · 133 阅读 · 0 评论