PyDoc -g call to Alt-Installed Python
vel.accel at gmail.com
Wed Mar 28 11:24:22 CEST 2007
On Mar 28, 3:09 am, Peter Otten <__pete... at web.de> wrote:
> D.Hering wrote:
> > I have both python2.4 and 2.5 installed on a (k)ubuntu linux box. I'm
> > trying to get the call to pydoc -g (pydoc server called from the
> > system console) to recognize python2.5 rather than the system's
> > default 2.4 release.
> > I've tried several different things so far, to no avail. My console
> > scripting knowledge, so far, is minimal. Any help here is appreciated.
> Copy Tools/scripts/pydoc from the Python2.5 source distribution into ~/bin.
> Then change its first line from
> #!/usr/bin/env python
> #!/usr/bin/env python2.5
More information about the Python-list