Windows switch between python 2 and 3
Steve D'Aprano
steve+python at pearwood.info
Thu Oct 27 11:41:26 EDT 2016
More information about the Python-list mailing list
Thu Oct 27 11:41:26 EDT 2016
- Previous message (by thread): Windows switch between python 2 and 3
- Next message (by thread): Windows switch between python 2 and 3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 -- Steve “Cheer up,” they said, “things could be worse.” So I cheered up, and sure enough, things got worse.
- Previous message (by thread): Windows switch between python 2 and 3
- Next message (by thread): Windows switch between python 2 and 3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list