pydoc
Pydoc is a module in the Python standard library that provides access to Python's documentation and a lightweight documentation server. It gathers help text from module docstrings and the Python introspection API to generate human-readable output in both plain text and HTML formats.
Usage is straightforward. At the command line, you can view documentation for a module or object with
An optional built-in HTTP server can be started to browse documentation in a web browser by running
Pydoc is cross-platform as part of the Python standard library and relies on the module's docstrings and
Limitations include reliance on docstrings, which means documentation quality varies by module. Complex APIs and many