On Tue, Mar 8, 2011 at 8:03 AM, Tim Golden <m...@timgolden.me.uk> wrote: > 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
FWIW, ActivePython automatically does this. As it includes versioned binaries as well, one can type (just like on Unix) `python2.7.exe` or `python3.2.exe` in the Command Prompt. > * assoc .py=python.file [probably already done] > > * python.file="C:\Pythonxy\python.exe" "%1" %* I suppose I should soon implement Windows support in pythonselect, https://github.com/Activestate/pythonselect -srid -- http://mail.python.org/mailman/listinfo/python-list