pydoc — Online Help for Modules — PyMOTW 3
The pydoc module imports a Python module and uses the contents to generate help text at runtime. The output includes docstrings for any objects that have them, and all of the classes, methods, and functions of the module are described.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.