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 doc function
For code that you do not wish to parse, I recommend the AST-based approach of @csl above.
For everything else, the inspect module is correct:
import inspect
import as module
functions = inspect.getmembers(module, inspect.isfunction)
This gives a list of 2-tuples in the form [(
.
The simple answer above is hinted at in various responses and comments, but not called out explicitly.