Quantcast
Channel: Programming – Xinyustudio
Viewing all articles
Browse latest Browse all 284

How to switch between python 2.x and python 3.x

$
0
0

It is known that Python2.x can coexist with Python3.x. But how do you switch the active version in use? Simple: go to edit system environment variables (shortcut key: Windows + Break), and set the path variable as shown in the snapshot:

image

If you replace the path from Python27 to Python34, for instance, then you are setting the active Python version from 2.7 to 3.4.

 


Filed under: Programming, Python Tagged: active, coexist, python 2.x, python 3.x, switch

Viewing all articles
Browse latest Browse all 284

Latest Images

Trending Articles



Latest Images