title: How to list all functions in a module?
body: <p>I have a Python module installed on my system and I'd like to be able to see what functions/classes/methods are available in it.</p>
  <p>I want to call the <code>help</code> function on each one. In Ruby I can do something like <code>ClassName.methods</code> to get a list of all the methods available on that class. Is there something similar in Python?</p>
  <p>e.g. something like:</p>
  <pre><code>from somemodule import foo
  print(foo.methods)  # or whatever is the correct method to call
  </code></pre>