2 versions of python on 1 machine
flupke
flupke at nonexistingdomain.com
Fri Jan 7 08:38:40 EST 2005
Peter Hansen wrote:
<snip>
>
> On my machine, I have a folder called c:\bin where I put useful
> batch files. I have a python23.bat and a python24.bat file,
> which basically just call c:\python23\python.exe or
> c:\python24\python.exe as required. For various reasons which
> may or may not apply to you as well, I also have each of them
> set the PYTHONHOME variable to point to the right folder
> as well.
>
> The content of each batch file is like this:
> @echo off
> c:\python23\python.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
>
> -Peter
I used the 2 batch files technique and removed c:\python23 from my
path var and all is fine now.
Where did you find more info on PYTHONHOME and PYTHONPATH because
the docs don't seem to contain a whole lot of info.
Thanks
Benedict
More information about the Python-list
mailing list