pydoc
TLDR
View module documentation
$ pydoc [module]
Search documentation$ pydoc -k [keyword]
Start documentation server$ pydoc -p [8080]
Write documentation to file$ pydoc -w [module]
Browser mode$ pydoc -b
SYNOPSIS
pydoc [options] [module]
DESCRIPTION
pydoc displays Python documentation. Built-in help system.
The tool shows module docs. Generates HTML documentation.
pydoc shows Python help.
PARAMETERS
MODULE
Module to document.-k KEYWORD
Search keyword.-p PORT
Start HTTP server.-w
Write HTML file.-b
Open in browser.
CAVEATS
Built into Python. Uses docstrings.
HISTORY
pydoc is Python's built-in documentation viewer.


