[Tutor] how can i use python 2 alongside 3?

Matthew Ngaha chigga101 at gmail.com
Thu Jan 24 14:46:08 CET 2013


hi guys i am a python 3.1.1. user but really need to use python 2 to
be able to use certain libraries and frameworks. i have installed
python 2.7 but they cant run together as all .py and .pyw files are
opened with python 3. i can open simple python 2 files by right
clicking and finding pythons 2's python.exe, but these only works for
simple files with no imports because the import i think seems to look
in the python 3 directory and can't find the packages.

i have checked stackoverflow for answers but i get lost in all the
terms and keywords they use to solve this. is there a simple
straightfoward way to fix this that is easy for someone like me to
understand or follow?

thanks. i use windows vista


More information about the Tutor mailing list