📜  在 python 代码示例中查找模块的路径

📅  最后修改于: 2022-03-11 14:45:58.985000             🧑  作者: Mango

代码示例3
result=[]
your_module = ?
for i in dir(your_module):
    if type(getattr(your_module, i)).__name__ == "function":
        result.append(getattr(your_module, i))
print(result)