[Tutor] How to use pydoc
Ricardo Aráoz
ricaraoz at gmail.com
Fri Feb 26 14:31:06 CET 2010
Checked the manuals on pydoc and wanted to try it. Must certainly be
doing something wrong but I can't figure what. Here's my session :
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
(Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> pydoc sys
File "<stdin>", line 1
pydoc sys
^
SyntaxError: invalid syntax
>>> import pydoc
>>> pydoc sys
File "<stdin>", line 1
pydoc sys
^
SyntaxError: invalid syntax
>>> pydoc
<module 'pydoc' from 'C:\Python25\lib\pydoc.pyc'>
>>> import sys
>>> pydoc sys
File "<stdin>", line 1
pydoc sys
^
SyntaxError: invalid syntax
>>>
What's my mistake?
TIA
More information about the Tutor
mailing list