ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



PYDOC(1)                  BSD General Commands Manual                 PYDOC(1)

NAME
     pydoc -- the Python documentation tool

SYNOPSIS
     pydoc name
     pydoc -k keyword
     pydoc -p port
     pydoc -g
     pydoc -w module ...
     pydoc --help

DESCRIPTION
     pydoc shows text documentation on something related to python(1).  The name argument 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 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.

OPTIONS
     -k keyword     Search for a keyword in the synopsis lines of all available modules.

     -p port        Start an HTTP server on the given port on the local machine.

     -g             Pop up a graphical interface for finding and serving documentation.

     -w module ...  Write out the HTML documentation for a module to a file in the current directory.  If
                    module contains a '/', it is treated as a filename; if it names a directory, documenta-tion documentation
                    tion is written for all the contents.

     --help         Prints out a help message.

AUTHOR
     Moshe Zadka, based on "pydoc --help"

SEE ALSO
     python(1)

                                 Dec 19, 2003

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.