Python: Builtin Help
help() function
in terminal, start Python by python
, then type help()
. Type exit
to exit.
Windows, Python Doc in .CHM Format
On Microsoft Windows, python comes with help file in .CHM
format.
you can open it at, example:
c:/Python39/Doc/python391.chm
pydoc
pydoc
is a command-line tool. It is installed on linux with python by default.
(not installed on Microsoft Windows by default)
In terminal type pydoc
to get started. It'll print a summary of how to use it.
For python 3, type pydoc3
.
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.