On Thu, Oct 27, 2016 at 3:41 PM, Steve D'Aprano <steve+pyt...@pearwood.info> wrote: > On Fri, 28 Oct 2016 02:11 am, 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. > > I don't use Windows, so I am guessing, but you could try: > > python2 > python27 > > python3 > python35
These links aren't created by the installer, but you can create them if that's your preference. Execute the following in an admin command prompt: mklink C:\Python27\python2.7.exe C:\Python27\python.exe mklink C:\Python27\python2.exe C:\Python27\python.exe mklink C:\Python35\python3.5.exe C:\Python35\python.exe mklink C:\Python35\python3.exe C:\Python35\python.exe -- https://mail.python.org/mailman/listinfo/python-list