1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:02:10 +02:00
tldr/pages/common/pydoc.md
Managor 923fc2c17f
pydoc: add page (#10575)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2023-08-08 00:57:27 +02:00

16 lines
369 B
Markdown

# pydoc
> Display offline Python documentation.
> More information: <https://docs.python.org/3/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`