Re: How to use pydoc?

2005-12-16 Thread newsposter
Thanks! Yes, it brings up a documentation server, and serves up some nicely formatted documentation. Learning learning... -Chris -- http://mail.python.org/mailman/listinfo/python-list

Re: How to use pydoc?

2005-12-16 Thread newsposter
Thanks Peter. I do have two versions, with the older one existing for compatibility with another application. Option -m works with 2.42. I neglected to check this when I ran from the command-line. Thanks, Chris -- http://mail.python.org/mailman/listinfo/python-list

Re: How to use pydoc?

2005-12-16 Thread SPE - Stani's Python Editor
If it's just about displaying pydoc pages... SPE Python IDE has pydoc built in. Just open any file and click on the pydoc tab, next to the uml tab. Then you see the python documentation of that script, which is generated on the fly, If you want to see documentation about the sys module, just click

Re: How to use pydoc?

2005-12-16 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > Thanks for replying Peter, but none of your suggestions are working. > > S:\projects\C2PC\src>python -m > Unknown option: -m > usage: python [option] ... [-c cmd | file | -] [arg] ... > > I should also be able to run 'pydoc -g' to start a webserver. > > I guess I will ha

Re: How to use pydoc?

2005-12-16 Thread Peter Otten
[EMAIL PROTECTED] wrote: > Thanks for replying Peter, but none of your suggestions are working. > > S:\projects\C2PC\src>python -m > Unknown option: -m > usage: python [option] ... [-c cmd | file | -] [arg] ... > > I should also be able to run 'pydoc -g' to start a webserver. Do you have multip

Re: How to use pydoc?

2005-12-16 Thread dvm1981
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 " to show documentation

Re: How to use pydoc?

2005-12-16 Thread Kent Johnson
[EMAIL PROTECTED] wrote: > Thanks for replying Peter, but none of your suggestions are working. > > S:\projects\C2PC\src>python -m > Unknown option: -m > usage: python [option] ... [-c cmd | file | -] [arg] ... The -m option was added in Python 2.4, you must have an older version (though your OP

Re: How to use pydoc?

2005-12-16 Thread newsposter
Thanks for replying Peter, but none of your suggestions are working. S:\projects\C2PC\src>python -m Unknown option: -m usage: python [option] ... [-c cmd | file | -] [arg] ... I should also be able to run 'pydoc -g' to start a webserver. I guess I will have to write the author of pydoc for an an

Re: How to use pydoc?

2005-12-16 Thread Peter Otten
[EMAIL PROTECTED] 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 " to show documentation on something." > > What am

How to use pydoc?

2005-12-16 Thread newsposter
>>> 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 " to show documentation on something." What am I missing? Thanks! Chris -- http://mail.py