Re: 2 versions of python on 1 machine
From: flupke (flupke_at_nonexistingdomain.com)
Date: 01/07/05
- Next message: BJörn Lindqvist: "Getting rid of "self.""
- Previous message: John Pote: "Python application extending, plugins"
- In reply to: Peter Hansen: "Re: 2 versions of python on 1 machine"
- Next in thread: Nick Coghlan: "Re: 2 versions of python on 1 machine"
- Reply: Nick Coghlan: "Re: 2 versions of python on 1 machine"
- Reply: Peter Hansen: "Re: 2 versions of python on 1 machine"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 07 Jan 2005 13:38:40 GMT
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
- Next message: BJörn Lindqvist: "Getting rid of "self.""
- Previous message: John Pote: "Python application extending, plugins"
- In reply to: Peter Hansen: "Re: 2 versions of python on 1 machine"
- Next in thread: Nick Coghlan: "Re: 2 versions of python on 1 machine"
- Reply: Nick Coghlan: "Re: 2 versions of python on 1 machine"
- Reply: Peter Hansen: "Re: 2 versions of python on 1 machine"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|