[Tutor] How Can Install Python 2.0 and 2.1 on the same machine?

Karim Yaici karimy@nipltd.com
Wed, 23 May 2001 13:03:40 +0100


> I may be wrong, but I'd wager that if you had a copy of myprogram.py in
> your C:\Python21 folder (even if C:\Python20 owned the file
> association), and you go to your command prompt (DOS prompt, as some
> still call it), cd into C:\Python21 and tell it to
>
> C:\Python21 > python myfile.py
>
> Then the Python installed in that folder will execute the script by that
> name.

True, I can easily do that with my editor, but the problem is that when you
install Python 2.1, this will overrride the settings, so to summerise my
situation :
Though my Python Path is using Python 2.0 (basicaly when you type in the Dos
prompt: Python you'll get V2.0), however, when you click on a py (or pyw)
file then Python 2.1 is used (which I don't want if I don't tell it so
;-) ).

> I've had less than one cup of coffee yet, so I might have made all this
> up by mistake,

Enjoy your coffee, I've just finished my pizza ;-)

Karim