How to use pydoc?
dvm1981
dvm1981 at telenet.be
Fri Dec 16 14:53:55 EST 2005
On Fri, 16 Dec 2005 07:23:57 -0800, newsposter wrote:
>>>> 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
On a GNU/Linux distribution you can run in a shell the command 'pydoc -g'.
This start a little interface that start a little webserver, so it open an
webbrowser and go to a page where you easy find info about modules etc...
More information about the Python-list
mailing list