How to use pydoc?

newsposter at cox.net newsposter at cox.net
Fri Dec 16 10:23:57 EST 2005


>>> import pydoc
>>> import sys
>>> sys.version
'2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)]'
>>> pydoc sys
SyntaxError: invalid syntax
>>>

The documentation for pydoc says:
"Run "pydoc <name>" to show documentation on something."

What am I missing?

Thanks!
Chris




More information about the Python-list mailing list