Python: Builtin Help
This page shows you how to use the builtin help system to read python docs.
In terminal type
pydoc to get started. It'll print a summary of how to use it. For python 3, use
pydoc3 <name> ... Show text documentation on something. <name> may be the name of a Python keyword, topic, function, module, or package, or a dotted reference to a class or function within a module or module in a package. If <name> contains a '/', it is used as the path to a Python source file to document. If name is 'keywords', 'topics', or 'modules', a listing of these things is displayed.
Type f to page down, b to page up, q to exit.
For example, type:
pydoc while→ language keyword, function.
pydoc dict→ language objects.
pydoc re→ module/package doc.
Or, in terminal, start Python by
python, then type
exit to exit.
Note: in Ubuntu Linux, as of , there's a bug that both
pydoc modules will crash Python. Use
sudo apt-get install python3.
If you have a question, put $5 at patreon and message me.