2012年1月2日 星期一

Mac OSX Python IDLE installation easy way

When we use Python on Mac OSX, we are confusing on Python environment with different version.
How can we develop each version Python on Mac without complex environment set up?
Using IDLE is a simple way and graphic user interface IDE.
First, we need to install tcl/tk GUI tookit to combine back-end python to front-end IDLE.
We can download ActiveTcl 8.5.11 (10.5+ x86_64/x86) and install via DMG file.
http://www.activestate.com/activetcl/downloads

Second, after we installed AvtiveTcl 8.5.11, we can choose Python version DMG file to install.
Python 2.7.2 (10.6 10.7 x86_64/x86)
Python 3.2.2 (10.6 10.7 x86_64/x86)

Then we can see Python X.X directory in our Applications directory.

Open the Python X.X directory and click IDLE, we can open a IDLE window with Python version.

Now we can write code on IDLE with different Python version by easy way.
 
創用 CC 授權條款