Installing Python 3 on Windows

Uri Even-Chen uri at speedy.net
Tue Aug 2 08:11:17 EDT 2016


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?

Thanks,
Uri.

*Uri Even-Chen*
[image: photo] Phone: +972-54-3995700
Email: uri at speedy.net
Website: http://www.speedysoftware.com/uri/en/
<http://www.facebook.com/urievenchen>  <http://plus.google.com/+urievenchen>
  <http://www.linkedin.com/in/urievenchen>  <http://twitter.com/urievenchen>



More information about the Python-list mailing list