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

Benjamin Kaplan benjamin.kaplan at case.edu
Thu Nov 12 21:49:41 CET 2009


On Thu, Nov 12, 2009 at 2:52 PM, rantingrick <rantingrick at gmail.com> 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?
>

At least on *nix (including OS X), installing Python 3 does exactly
what you want by default. I don't know how it handles it on Windows.

> Thanks
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list