Re: 2 versions of python on 1 machine

From: Nick Coghlan (ncoghlan_at_iinet.net.au)
Date: 01/07/05


Date: Sat, 08 Jan 2005 01:26:44 +1000
To: Python List <python-list@python.org>

flupke wrote:
> Peter Hansen wrote:
>> The content of each batch file is like this:
>> @echo off
>> c:\python23\python.exe %1 %2 %3 %4 %5 %6 %7 %8 %9

More recent versions of Windows should allow you to use %* for "all the
arguments to the batch file".

> Where did you find more info on PYTHONHOME and PYTHONPATH because
> the docs don't seem to contain a whole lot of info.

I think PYTHONPATH is discussed in the tutorial. PYTHONHOME, I'm not so sure on
(PYTHONPATH and PYTHONSTARTUP are the only two you're likely to care about,
though - and I think the Tutorial covers both of them).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan@email.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.skystorm.net


Relevant Pages

  • Re: PYTHONPATH?
    ... refer to PYTHONPATH. ... the local Directory? ... You can set these in some obscure ... windows dialog in the system-preferences on a per-system or per-user base. ...
    (comp.lang.python)
  • Re: Running python from a usb drive
    ... This has nothing to do with Windows, ... and the changes to path and pythonpath are gone after I close the ... I will overwrite the pre-existing registry ... my restore script will run. ...
    (comp.lang.python)
  • Re: PYTHONPATH?
    ... refer to PYTHONPATH. ... How should/could I nominate a Directory to be ... windows dialog in the system-preferences on a per-system or per-user base. ...
    (comp.lang.python)
  • Re: Running python from a usb drive
    ... is pythonpath really case insensitive on windows? ... Only because the Windows filesystem implements case-insensitive semantics. ...
    (comp.lang.python)
  • Re: Running python from a usb drive
    ... is pythonpath really case insensitive on windows? ... semantics. ... Volume in drive C has no label. ...
    (comp.lang.python)