Viewing sourcecode with PyDoc

Mark Gebhardt mark at saebex.com
Wed Oct 31 04:57:23 EST 2001


Hi Jan / Ping

I came across this posting (see below) re adding sourcecode viewing to pydoc
in the mailing list archive and wondered if anyone knew if there had been
any developments on this front?

We use Python/Webware and Webware has a nice .py -> html converter that does
pretty colours, etc. Perhaps this could be included into pydoc. I'm prepared
to have a go at that as long as its not duplicating someone else's effort.

Any thoughts?

Cheers
Mark

-----

From: Jan Kybic (Jan.Kybic at epfl.ch)
Subject: 'pydoc -p' is great. Could it show the source as well?
Newsgroups: comp.lang.python
View this article only
Date: 2001-04-17 02:46:02 PST


Hi,
	I have just discovered 'pydoc -p' which extract documentation
from your classes and presents it with your web browser and I am
delighted. Great work, many thanks.

I have a feature wish: Could I access the HTMLized source code (of the
methods) as well, say by clicking on some link from the page generated
by pydoc? That would save me from having to go to the editor and
consult the actual source code manually.

Jan


--
-------------------------------------------------------------------------
Jan Kybic <Jan.Kybic at epfl.ch>      BIG IOA DMT EPFL Lausanne, Switzerland
       or <kybic at ieee.org>         tel. work +41 (21) 693 5142
For PGP key see my WWW page.       http://bigwww.epfl.ch/kybic
Message 2 in thread
From: Aahz Maruch (aahz at panix.com)
Subject: Re: 'pydoc -p' is great. Could it show the source as well?
Newsgroups: comp.lang.python
View this article only
Date: 2001-04-17 08:38:08 PST


In article <lxk7l0jlv33.fsf at ioasun3.epfl.ch>,
Jan Kybic  <Jan.Kybic at epfl.ch> wrote:
>
>I have a feature wish: Could I access the HTMLized source code (of the
>methods) as well, say by clicking on some link from the page generated
>by pydoc? That would save me from having to go to the editor and
>consult the actual source code manually.

Send suggestions for pydoc to Ka-Ping Yee, ping at lfw.org

Alternatively, given that it's now part of core Python, you should be
able to post suggestions to the SourceForge feature request.
--
                      --- Aahz  <*>  (Copyright 2001 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het Pythonista
http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

"If we had some ham, we could have ham & eggs, if we had some eggs." --RH







More information about the Python-list mailing list