Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python inspect class

# allow you to inspect the member functions of a class
import inspect
from pprint import pprint
pprint(inspect.getmembers(Class_to_inspect, inspect.isfunction))
 
PREVIOUS NEXT
Tagged: #python #inspect #class
ADD COMMENT
Topic
Name
2+4 =