3.x and 2.x on same machine (is this info at Python.org??)

Terry Reedy tjreedy at udel.edu
Thu Nov 12 15:51:13 EST 2009


rantingrick wrote:
> Hello,
> 
> Currently i am using 2.6 on Windows and need to start writing code in
> 3.0. I cannot leave 2.x yet because 3rd party modules are still not
> converted. So i want to install 3.0 without disturbing my current
> Python2.x. What i'm afraid of is that some SYSVARIABLE will get
> changed to Python3.0 and when i double click a Python script it will
> try and run Python 3.x instead of 2.x. I only want to run 3.0 scripts
> from the command line... > python3.x myscript.py
> 
> So how do i do this? Is my fear unfounded?

When you install 3.1 (not 3.0), it asks whether to make 'this' the 
default Python. Make sure the box is unchecked.




More information about the Python-list mailing list