Re: 2 versions of python on 1 machine

From: flupke (flupke_at_nonexistingdomain.com)
Date: 01/07/05


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



Relevant Pages

  • Folder to Start Menu in XP?
    ... Can you pin a folder to the XP Home SP2 fully updated Start Menu? ... want to do is open at least two programs at once and I'm having a {snip} of ... Someone suggested a batch file but I can't get that to work. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: MSDOS Batch File Question!
    ... I am trying to write a batch file to delete all files older than one hour within a folder. ... What would be the most efficient MSDOS batch file to that? ... Snip your long urls - http://snipurl.com/ ...
    (microsoft.public.windowsxp.basics)
  • Re: Aero and Aqua
    ... on Windows you do get a consistent UI for this: ... uninstaller or do *anything* else. ... Application folder so it is not available to other users. ...
    (comp.sys.mac.advocacy)
  • Re: XP footprint on the new class of ultra low cost PCs
    ... I am Technology Director of a public charter school in Massachusetts, ... I configured Office to install on the D: ... The folder is currently ...
    (microsoft.public.windowsupdate)
  • Re: Duplicating Files
    ... Here is a brief explanation of each line of code: ... In this line you tell the program where the parent folder resides. ... This line ends the main part of the batch file. ...
    (microsoft.public.windowsxp.general)