Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python how to inspect pyd for functions

from inspect import getmembers, isfunction
from my_project import my_module

functions_list = [o for o in getmembers(my_module) if isfunction(o[1])]
 
PREVIOUS NEXT
Tagged: #python #inspect #pyd #functions
ADD COMMENT
Topic
Name
3+8 =