get all methods of an instance

Solutions on MaxInterview for get all methods of an instance by the best coders in the world

showing results for - "get all methods of an instance"
Kenji
30 Aug 2018
1object_methods = [method_name for method_name in dir(object)
2                  if callable(getattr(object, method_name))]
3
similar questions
queries leading to this page
get all methods of an instance