python - How to run programs in python2 and python3 -
i have python 2.6.6 , python 3.1.3 installed on machine (windows vista 64 bit) path variable includes directory of both versions. how can specify python want run program in. instance, if want run program in python 3, works if want run different program in python2 syntax error. how can run python 2 program in cmd?
typing python in command line, python 3.1.3 1 shows up.
you can specify version in executable name python2.6
, python3
.
Comments
Post a Comment