Differences between revisions 2 and 3
Revision 2 as of 2008-11-15 14:00:54
Size: 347
Editor: localhost
Comment: converted to 1.6 markup
Revision 3 as of 2015-01-03 08:21:55
Size: 321
Editor: techtonik
Comment: remove confusing references
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
pydoc is a command similar to Perl's perldoc. You run it on the command line, passing it the name of a module it's able to find, and it shows you something similar to a manpage, created from the docstrings in said module. pydoc is a command similar to Perl's perldoc. You run it on the command line, passing it the name of a module it's able to find, and it shows you documentation page created from the docstrings in said module.
Line 3: Line 3:
Within the python interpreter, when you type "help(something)", that interactive manpage-like help is supplied by pydoc. Within the python interpreter, when you type "help(something)", that interactive help is supplied by pydoc.

pydoc is a command similar to Perl's perldoc. You run it on the command line, passing it the name of a module it's able to find, and it shows you documentation page created from the docstrings in said module.

Within the python interpreter, when you type "help(something)", that interactive help is supplied by pydoc.

PyDoc (last edited 2015-01-03 08:21:55 by techtonik)

Unable to edit the page? See the FrontPage for instructions.