Installing Python 3 on Windows

Edward Diener eldiener at tropicsoft.invalid
Tue Aug 2 08:21:46 EDT 2016


On 8/2/2016 8:11 AM, Uri Even-Chen wrote:
> Hi,
>
> I want to install Python 3 on Windows, but I also need Python 2 for Google
> App Engine SDK. When I type a name of a Python file in command line, I want
> it to run with Python 3. However, I checked with "print 3/5" and it printed
> 0 - Python 2. I have the latest versions of Python installed
> - python-2.7.12.msi and python-3.5.2.exe
>
>> python --version
> Python 2.7.12
>
>> assoc .py
> .py=Python.File
>
>> ftype Python.File
> Python.File="C:\Python27\python.exe" "%1" %*
>
> By the way, it there a way to print the Python version from Python?

Use the Python Launcher for Windows.




More information about the Python-list mailing list