摘要: 两种方式: #!/usr/bin/env python3#coding:utf-8 import sys, inspectdef test_a(): print('func name: ', sys._getframe().f_code.co_name) def test_b(): print('f 阅读全文
posted @ 2022-10-25 23:20 i舒 阅读(37) 评论(0) 推荐(0) 编辑