[Tutor] Fwd: Installing both Python 2.7 and Python 3.4 on Windows 7 Pro 64-bit: Install Python 2.7 FIRST!

Zachary Ware zachary.ware+pytut at gmail.com
Sat Oct 11 07:37:15 CEST 2014


<Forwarding my original to the list, as I failed earlier>

On Fri, Oct 10, 2014 at 11:34 PM, boB Stepp <robertvstepp at gmail.com> wrote:
> I can live with 2.7.8 being the default Python, but if I wanted to
> make 3.4.2 the default, how would I go about doing it?

Check the output of "ftype Python.File", it should be:

C:\>ftype Python.File
Python.File="C:\Windows\py.exe" "%1" %*

If it's not, make it so :).  Then configure the Python Launcher
(py.exe) as described here:
https://docs.python.org/3/using/windows.html#customization

(You'll probably want your py.ini to look like this:

[defaults]
python=3

)

Hope this helps,
--
Zach


More information about the Tutor mailing list