Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python list all methods of a class

method_list = [func for func in dir(Foo) if callable(getattr(Foo, func))]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #list #methods #class
ADD COMMENT
Topic
Name
9+2 =