Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python inspect module

# allow you to inspect the member functions of a class
import inspect
from pprint import pprint
pprint(inspect.getmembers(Class_to_inspect, inspect.isfunction))
Source by codefreelance.net #
 
PREVIOUS NEXT
Tagged: #python #inspect #module
ADD COMMENT
Topic
Name
5+8 =