<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Andrew,<br>
<br>
We have numerous students and faculty here who are successfully using graphics.py 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.<br>
<br>
I have two quick suggestions. First make sure you have the latest version of the graphics library available from my python page:
<a href="http://mcsp.wartburg.edu/zelle/python." target="_blank">http://mcsp.wartburg.edu/zelle/python.</a> 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.<br>
<br>
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.<br>
<br>
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.<br>
<br>
Cheers,<br>
<br>
--John<br>
<div><br>
<div style="font-family: Tahoma; font-size: 13px;"><span style="font-family: Courier New;">John Zelle, PhD<br>
Professor of Computer Science<br>
Wartburg College<br>
<br>
</span></div>
</div>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF597713"><font color="#000000" face="Tahoma" size="2"><b>From:</b> edu-sig-bounces&#43;john.zelle=wartburg.edu@python.org [edu-sig-bounces&#43;john.zelle=wartburg.edu@python.org] on behalf of Andrew Harrington [aharrin@luc.edu]<br>
<b>Sent:</b> Wednesday, December 07, 2011 11:45 AM<br>
<b>To:</b> edu-sig@python.org<br>
<b>Subject:</b> [Edu-sig] mac python graphics<br>
</font><br>
</div>
<div></div>
<div>I just got my first Mac. &nbsp;I know issues with Mac graphics have been discussed before, but I'm not sure what is relevant with OSX Lion.
<div><br>
</div>
<div>With the active state Tcl and the standard <a href="http://python.org" target="_blank">
python.org</a> python and idle appears fine. &nbsp;</div>
<div>Still if I try running a Zelle graphic program inside or outside idle I get a freeze.</div>
<div><br>
</div>
<div>The massive installation through MacPorts, that uses X11 for graphics makes my Zelle graphics library Tk based programs &nbsp;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.<br clear="all">
<div><br>
</div>
<div>What am I missing?</div>
<div><br>
</div>
<div>Thanks,</div>
-- <br>
Dr. Andrew N. Harrington<br>
&nbsp; Computer Science Department&nbsp;
<div>&nbsp; Loyola University Chicago<br>
Lakeshore office in the Math Department: 205 Loyola Hall<br>
<a href="http://www.cs.luc.edu/~anh" target="_blank">http://www.cs.luc.edu/~anh</a><br>
Phone: 773-915-7999<br>
Fax:&nbsp; &nbsp; 312-915-7998<br>
<a href="mailto:aharrin@luc.edu" target="_blank">aharrin@luc.edu</a><br>
<br>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>