Switching between Python releases under Windows

Tim Golden mail at timgolden.me.uk
Tue Mar 8 11:03:52 EST 2011


On 08/03/2011 15:58, Tim Golden wrote:
> On 08/03/2011 14:55, Edward Diener wrote:
>> I have multiple versions of Python installed under Vista. Is there any
>> easy way of switching between them so that invoking python and file
>> associations for Python extensions files work automatically ?
>
> Well, the answer depends a bit on how au fait you are with fiddling
> with env vars etc....

But essentially involves:

* Adding c:\pythonxy and c:\pythonxy\script to PATH

* assoc .py=python.file [probably already done]

* python.file="C:\Pythonxy\python.exe" "%1" %*


TJG



More information about the Python-list mailing list