We have numerous students and faculty here who are successfully using with OSX Lion. The main problem for them was getting the ActiveState Tcl/Tk fix, but it sounds like you have already done that. If IDLE is running, there is no reason that the graphics package should give you difficulties.

I have two quick suggestions. First make sure you have the latest version of the graphics library available from my python page: You probably do have it, as it has not been updated in quite a while. The important thing is that you need the unthreaded iteration of the library.

Second, make sure that every graphics program shuts down properly by executing window.close(). If your processes are hanging up on program termination, this could be the issue. It is not sufficient to simply have the Python program quit.

If neither of these addresses your issue, then I would appreciate it if you would send me a slightly more detailed report letting me know exactly what version of python and Tcl/Tk you are running and providing a simple example program that causes freeze up along with a description of exactly how it locks up.



John Zelle, PhD
Professor of Computer Science
Wartburg College

From: [] on behalf of Andrew Harrington []
Sent: Wednesday, December 07, 2011 11:45 AM
Subject: [Edu-sig] mac python graphics

I just got my first Mac.  I know issues with Mac graphics have been discussed before, but I'm not sure what is relevant with OSX Lion.

With the active state Tcl and the standard python and idle appears fine.  
Still if I try running a Zelle graphic program inside or outside idle I get a freeze.

The massive installation through MacPorts, that uses X11 for graphics makes my Zelle graphics library Tk based programs  work fine, but the X11 version of Idle has many of the common keyboard shortcuts not working, and is (intensionally) not the standard Apple menu setup.

What am I missing?

Dr. Andrew N. Harrington
  Computer Science Department 
  Loyola University Chicago
Lakeshore office in the Math Department: 205 Loyola Hall
Phone: 773-915-7999
Fax:    312-915-7998