How to install both Python 2.x and Python 3.x on same computer

Many people try to go to Python 3 but they got to keep up with Python 2 because of lack of support and not all plugins and mods are yet updated to Python 3. So if you want to install both version and execute both version scripts correctly, here is the trick.

First download both Python 2.x and Python 3.x and install them as usual, there won’t be any problem with it. During the installation choose different folders as installation directory for both. I have installed them in same drive and it looks like this.

Installing python 2 and python 3In folder Python27 is Python 2.7.1 and in folder Python33 is Python 3.3

You can execute python script with python 3 by entering ” C:\python33\python.exe scriptname.py ” in command prompt window and you can execute python script with python 2 by entering ” C:\python27\python.exe scriptname.py

Or if you want to execute them in command prompt window without much path typing Continue reading How to install both Python 2.x and Python 3.x on same computer