帧 获取函数方法名

 

import sys
print(sys._getframe().f_code.co_name)
 
python 获取函数名字的办法_qq_16069927的博客-CSDN博客 https://blog.csdn.net/qq_16069927/article/details/89043169
posted @ 2023-05-31 17:37  papering  阅读(6)  评论(0编辑  收藏  举报