Switching between Python releases under Windows

Ulrich Eckhardt ulrich.eckhardt at dominolaser.com
Tue Mar 8 10:25:03 EST 2011


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 ?

These associations are stored in the registry. Just cut out the according
sections[1] with the settings for each Python version and save them in a
file each. You can then simply re-import the variant with the settings that
you need in order to change. Note that these .reg files are just text
files, so you can also change them using a text editor if there is need.

Uli

[1] e.g. HKEY_CLASSES_ROOT\Python.File
-- 
Domino Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932




More information about the Python-list mailing list