title: How do I get list of methods in a Python class?
body: <p>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?</p>
  
  <p>Also see:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/1280787/how-can-i-list-the-methods-in-a-python-2-5-module">How can I list the methods in a
  Python 2.5 module?</a> </li>
  <li><a href="https://stackoverflow.com/questions/928990/looping-over-a-python-ironpython-object-methods">Looping over
  a Python / IronPython Object
  Methods</a> </li>
  <li><a href="https://stackoverflow.com/questions/34439/finding-the-methods-an-object-has">Finding the methods an
  object has</a> </li>
  <li><a href="https://stackoverflow.com/questions/1006169/how-do-i-look-inside-a-python-object">How do I look inside
  a Python object?</a> </li>
  <li><a href="https://stackoverflow.com/questions/546337/how-do-i-perform-introspection-on-an-object-in-python-2-x">How Do I
  Perform Introspection on an Object in
  Python 2.x?</a> </li>
  <li><a href="https://stackoverflow.com/questions/191010/how-to-get-a-complete-list-of-objects-methods-and-attributes">How to get a
  complete list of object’s methods and
  attributes?</a> </li>
  <li><a href="https://stackoverflow.com/questions/955533/finding-out-which-functions-are-available-from-a-class-instance-in-python">Finding out which
  functions are available from a class
  instance in python?</a></li>
  </ul>