HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pydoc — Display offline Python documentation. More information: <https://docs.python.org/library/pydoc.html>

Submitted by: @import:tldr-pages··
0
Viewed 0 times
pydoccommandpythonclimoredocumentationofflinedisplay

Problem

How to use the pydoc command: Display offline Python documentation. More information: <https://docs.python.org/library/pydoc.html>.

Solution

pydoc — Display offline Python documentation. More information: <https://docs.python.org/library/pydoc.html>.

Print documentation on a subject (Python keyword, topic, function, module, package, etc.):
pydoc {{subject}}


Start an HTTP server on an arbitrary unused port and open a [b]rowser to see the documentation:
pydoc -b


Display help:
pydoc

Code Snippets

Print documentation on a subject (Python keyword, topic, function, module, package, etc.)

pydoc {{subject}}

Start an HTTP server on an arbitrary unused port and open a [b]rowser to see the documentation

pydoc -b

Display help

pydoc

Context

tldr-pages: common/pydoc

Revisions (0)

No revisions yet.