PYDOC3.15(1)
π NAME π
pydoc3.15 β the Python documentation tool, bestie. it literally hands you docs for your Python stuff and it's giving main character energy β¨
πΈ SYNOPSIS πΈ
pydoc3.15 name
pydoc3.15 -k keyword
pydoc3.15 -p port
pydoc3.15 -g
pydoc3.15 -w module [...]
π¦ DESCRIPTION π¦
pydoc3.15 name
okay so this one shows you text documentation on something. and name is flexible like that π β it can be:
- the name of a Python keyword
- a topic
- a function
- a module
- a package
- or a dotted reference to a class or function within a module, or a module within a package
and if name contains a /, then bestie it gets used as the path to a Python source file to document. no cap.
also! if name is 'keywords', 'topics', or 'modules', you get a listing of those things displayed. iconic π
pydoc3.15 -k keyword
this one searches for a keyword in the synopsis lines of all available modules. lowkey the best way to find stuff you half-remember π
pydoc3.15 -p port
starts an HTTP server on the given port on the local machine. yes, your docs, but on the web, in your own house π β¨
pydoc3.15 -g
pops up a graphical interface for finding and serving documentation. it's giving cute little window energy π
pydoc3.15 -w name [...]
writes out the HTML documentation for a module to a file in the current directory. and β plot twist β if name contains a /, it's treated as a filename; and if it names a directory, documentation is written for all the contents. obsessed π₯
π AUTHOR π
Moshe Zadka, based on "pydoc --help" π«Ά
okay bestie that's the whole page, periodt π this was PYDOC3.15(1) from the General Commands Manual β go read your docs, you ate π
πΈ
π¦ where this page comes from
- ubuntu stonking: python3.15 3.15.0-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms