📜  python 如何检查 pyd 的函数 - Python 代码示例

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

代码示例1
from inspect import getmembers, isfunction
from my_project import my_module

functions_list = [o for o in getmembers(my_module) if isfunction(o[1])]