Windows switch between python 2 and 3

Peter Otten __peter__ at web.de
Thu Oct 27 11:37:51 EDT 2016


Daiyue Weng wrote:

> Hi, I installed Python 2.7 and Python 3.5 64 bit versions on Win 10. Under
> 
> C:\Python35
> 
> C:\Python27
> 
> Both have been set in environment variable Path.
> 
> When I type python in cmd, it only gives me python 2.7, I am wondering how
> to switch between 2 and 3 in command prompt.
> 
> cheers

https://docs.python.org/3.5/using/windows.html#python-launcher-for-windows




More information about the Python-list mailing list