PyDoc -g call to Alt-Installed Python

D.Hering vel.accel at gmail.com
Wed Mar 28 05:24:22 EDT 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
>
> to
>
> #!/usr/bin/env python2.5
>
> Peter

Thanks Pete




More information about the Python-list mailing list