snippetbashTip
pydoc — Display offline Python documentation. More information: <https://docs.python.org/library/pydoc.html>
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 -bDisplay help:
pydocCode 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 -bDisplay help
pydocContext
tldr-pages: common/pydoc
Revisions (0)
No revisions yet.