PYDOC3.14(1)
π pydoc3.14 β NAME π
pydoc3.14 β bestie, it's the Python documentation tool β¨ she reads the docs so you don't have to π
πΈ SYNOPSIS πΈ
pydoc3.14 name
pydoc3.14 -k keyword
pydoc3.14 -p port
pydoc3.14 -g
pydoc3.14 -w module [...]
π¦ DESCRIPTION π¦
pydoc3.14 nameβ okay so this one shows you text documentation on something. and like, name is flexible fr fr: it can be the name of a Python keyword, a topic, a function, a module, or a package β or a dotted reference to a class or function inside a module, or a module inside a package. π
and get this: if name contains a /, it gets used as the path to a Python source file to document. and if name is 'keywords', 'topics', or 'modules', you get a whole listing of those things displayed. iconic behavior tbh π«Ά
pydoc3.14 -k keywordβ searches for a keyword in the synopsis lines of all available modules π lowkey the fastest way to find where something lives.pydoc3.14 -p portβ spins up an HTTP server on the given port, on the local machine π₯οΈ your docs, but make it web.pydoc3.14 -gβ pops up a graphical interface for finding and serving documentation β¨ yes ma'am, clicky-clicky docs πpydoc3.14 -w name [...]β writes out the HTML documentation for a module to a file in the current directory π and here's the nuance bestie: if name contains a/, it's treated as a filename; and if it names a directory, documentation is written for all the contents π
not me explaining all five modes in one breath π but they're all so good, i fear.
π AUTHOR π
Moshe Zadka, based on "pydoc --help" πΈ give them their flowers π
and that's the whole page bestie β¨ this came to you from the General Commands Manual as PYDOC3.14(1) β go read some docs, you deserve it π«Άπ π
π¦ where this page comes from
- ubuntu questing: python3.14 3.14.0-1
- ubuntu questing: python3.14 3.14.0-1ubuntu0.3
- ubuntu resolute: python3.14 3.14.4-1
- ubuntu resolute: python3.14 3.14.4-1ubuntu0.2
- ubuntu stonking: python3.14 3.14.8-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms