摘要: 1、调试利器,显示调用栈 import sys def get_cur_info(): print('当前文件名:' ,sys._getframe().f_code.co_filename) print('函数名',sys._getframe(0).f_code.co_name) print('调用 阅读全文
posted @ 2025-04-21 13:38 凡人半睁眼 阅读(11) 评论(0) 推荐(0)