2024-10-06 14:00:34 发布
网友
有没有办法从函数中找到函数名
def some_function(): function_name = ... # some way of retrieving the name 'some_function' print(function_name)
function_name的预期值是字符串:“some_函数”
function_name
一些函数。名称应该可以工作
一些函数。名称应该可以工作
相关问题 更多 >
编程相关推荐