Is it possible to install python 3 and 2.6 on the same pc?

How can I do it? The reason is that I wanted to try several pygame, but I have python 3 installed currently and studied with it. I'm also interested in trying wxpython or something like that, but I haven't looked at their compatibility yet.

EDIT :: im on Windows Vista 64-bit

+3
source share
7 answers

If you are on Windows, just install another version of Python using the installer. It will be installed in another directory.

, , , python . easy_install, , .

python-3 , zip- .

+9

... . Python 3.0 , . , Ubuntu 9.04, Python, , python2.5 myscript.py python3.0 myscript.py, .

+3

python python2.6, . python. .

+3

, .

3 python (2.5, 2.6, 3.0). , , - , Python PATH ( ). script , python

C:\Python25 \, C:\Python26 \, C:\Python30\ ..

"python.exe file.py" .

python.exe python25.exe python26.exe python30.exe PATH, script .

+2

, , 2.x; , .

+1

, , . Mac- python_select, python; Windows ( ), , , .

+1
0
source

Source: https://habr.com/ru/post/1709141/


All Articles