Launch IDLE on Default Leopard Installation

Posted March 14th @ 1:50 pm  |  Filed in: Python    

Here at Pycon 2008 I was lamenting to David on how Leopard’s default install of Python has no IDLE interface. He clued me into how to launch it from the interpreter:

>>> import idlelib.idle

Also, from the regular shell:

python -m idlelib.idle

Wait for a few seconds, and there you have it.

7 Comments

  1. » louis said on April 12, 2008 at 12:18...

    THANK YOU (for posting this)! (sorry about yelling ;-p )

  2. http://www.stoptimestudio.com » Matt said on April 15, 2008 at 09:01...

    You’re very welcome, thanks for the thanks!

  3. http://paynito.friendfeed.com » brandon said on January 8, 2009 at 23:40...

    hi , can’t get IDLE working on 10.5.6 with python 3 rc1

    import tkinter # directory /opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/tkinter
    # /opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/tkinter/__init__.pyc matches /opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/tkinter/__init__.py
    import tkinter # precompiled from /opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/tkinter/__init__.pyc
    ** IDLE can’t import Tkinter. Your Python may not be configured for Tk. **

  4. http://www.stoptimestudio.com » Matt said on January 9, 2009 at 09:07...

    I haven’t updated to 3 yet, so can’t be of much help. Good luck, please post an answer if you find one!

  5. » GanjaManja said on February 17, 2009 at 16:27...

    That’s great! no need to mess with the old, half-working versions of MacPython

  6. » ahmedshamim said on September 5, 2009 at 00:22...

    I tried some ide download down to my mac 10.5.8, but when i click on idle app, it does open. i tried to invoke from terminal using above mentioned instruction, but in vain. pls help, i’m mission a great deal in my class.

  7. http://3peasmedia.com » Tammi said on January 25, 2010 at 19:44...

    Thank you for posting this. I’ve been going crazy trying to find IDLE. A command line launch wasn’t easy to find. Thanks again!

Leave a comment

OpenID Login

Standard Login

Options:

Size

Colors