[Python-Dev] The docs, reloaded

Ronald Oussoren ronaldoussoren at mac.com
Wed May 23 13:10:30 CEST 2007


 
On Wednesday, May 23, 2007, at 12:40PM, <skip at pobox.com> wrote:
>
>    Nick> If you type "pydoc re" at the moment then it says in it
>
>    Nick>   MODULE DOCS
>    Nick>       http://www.python.org/doc/current/lib/module-re.html
>
>    Nick> which is pretty much useless to me when ssh-ed in to a linux box
>    Nick> half way around the world...
>
>I get quite a bit of information about re (I've never known /F to be a
>documentation slouch). Only one bit of that information is a reference to
>the page in the library reference manual.  And if I happen to be ssh'd into
>a machine halfway round the world through a Gnome terminal I can right mouse
>over that URL and pop the page up in my default local browser.  If you set
>the PYTHONDOCS environment variable you can point it to a local (or at least
>different) copy of the libref manual.  A flag could be added to pydoc to
>show that content instead, however being html it probably would be difficult
>to read unless pumped through lynx -dump or something similar.

pydoc can already do this for the language reference (try 'pydoc import' on a system with a local install of the python documentation).

Ronald

>
>Skip
>_______________________________________________
>Python-Dev mailing list
>Python-Dev at python.org
>http://mail.python.org/mailman/listinfo/python-dev
>Unsubscribe: http://mail.python.org/mailman/options/python-dev/ronaldoussoren%40mac.com
>
>


More information about the Python-Dev mailing list