python doc in command line
bignose+hates-spam at benfinney.id.au
Thu Jul 17 01:30:38 CEST 2008
Peng Yu <PengYu.UT at gmail.com> writes:
> Perl has a command line help perldoc. I'm wondering if python has a
> similar help command.
The interactive interpreter has a "help" command, and a corresponding
"help" function which can be passed an object to display its
docstrings recursively and nicely-formatted.
The same facility is available with the external 'pydoc' command.
\ “The right to search for truth implies also a duty; one must |
`\ not conceal any part of what one has recognized to be true.” |
_o__) —Albert Einstein |
More information about the Python-list