I want to iterate through the methods in a class, or handle class or instance objects differently based on the methods present. How do I get a list of class methods?
Also see:
- How can I list the methods in a
Python 2.5 module? - Looping over
a Python / IronPython Object
Methods - Finding the methods an
object has - How do I look inside
a Python object? - How Do I
Perform Introspection on an Object in
Python 2.x? - How to get a
complete list of object’s methods and
attributes? - Finding out which
functions are available from a class
instance in python?