Python IDLE: Change Python Version

后端 未结 6 1053
半阙折子戏
半阙折子戏 2020-11-29 08:43

I have Python 2.x and 3.x on my machine (Mac OS X 10.6). For some things I want to use ver 2, but for others I want ver 3. I like the IDLE software for editing/running, but

6条回答
  •  悲哀的现实
    2020-11-29 08:58

    There are different versions of IDLE installed for each Python version. Depending on how you installed Python on Mac OS X, you may find different folders in /Applications. Look for a Python 3.n (n = 1 or 2) folder with an IDLE in it. Or, from a terminal command line, you may find an idle2.6 and an idle3 or idle3.1 or idle3.2.

提交回复
热议问题