Skip to content

python人生

python人生

  • 首页

python人生

python人生

  • 首页
2022年 11月 4日

Python获取函数名称

  • 未分类
  • admin

def func():
   print sys._getframe().f_code.co_name

  • 1
  • 2
  • 3
Copyright © 2022