Fix Python – How can I get a list of all classes within current module in Python?

I’ve seen plenty of examples of people extracting all of the classes from a module, usually something like:
# foo.py
class Foo:
pass

# test.py
import inspect
import foo

for name, obj in inspect.getmembers(foo):
if inspect.isclass(obj):
print obj

Awesome.
But I can’t find out how to get all of the classes from the current module…..

Fix Python – How to list all functions in a module?

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.
I want to call the help function on each one. In Ruby I can do something like ClassName.methods to get a list of all the methods available on that class. Is there something similar in Python?
e.g. something like:
from so….