.TH PYDOC3.9 1 .SH NAME pydoc3.9 \- the Python documentation tool .SH SYNOPSIS .PP .B pydoc3.9 .I name .PP .B pydoc3.9 -k .I keyword .PP .B pydoc3.9 -p .I port .PP .B pydoc3.9 -g .PP .B pydoc3.9 -w .I module [...] .SH DESCRIPTION .PP .B pydoc3.9 .I name Show text documentation on something. .I name may be the name of a Python keyword, topic, function, module, or package, or a dotted reference to a class or function within a module or module in a package. If .I name contains a '/', it is used as the path to a Python source file to document. If name is 'keywords', 'topics', or 'modules', a listing of these things is displayed. .PP .B pydoc3.9 -k .I keyword Search for a keyword in the synopsis lines of all available modules. .PP .B pydoc3.9 -p .I port Start an HTTP server on the given port on the local machine. .PP .B pydoc3.9 -g Pop up a graphical interface for finding and serving documentation. .PP .B pydoc3.9 -w .I name [...] Write out the HTML documentation for a module to a file in the current directory. If .I name contains a '/', it is treated as a filename; if it names a directory, documentation is written for all the contents. .SH AUTHOR Moshe Zadka, based on "pydoc --help"