DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+3 =
Submit