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

前端 未结 7 1320
忘了有多久
忘了有多久 2021-01-06 13:47

How would I do this? The reason being I wanted to try some pygame out, but I have python 3 installed currently and have been learning with that. I\'m also interested in tryi

7条回答
  •  -上瘾入骨i
    2021-01-06 14:25

    Erm... yes. I just installed Python 3.0 on this computer to test it. You haven't specified your operating system, but I'm running Ubuntu 9.04 and I can explicitly specify the version of Python I want to run by typing python2.5 myscript.py or python3.0 myscript.py, depending on my needs.

提交回复
热议问题