<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">On Jan 6, 2011, at 3:46 PM, Ned Deily wrote:<br><br><blockquote type="cite">In article <<a href="mailto:775A9D45-25B5-4A16-9FE5-6217FD67F3AF@cagttraining.com">775A9D45-25B5-4A16-9FE5-6217FD67F3AF@cagttraining.com</a>>,<br></blockquote><blockquote type="cite">Bill Felton <<a href="mailto:subscriptions@cagttraining.com">subscriptions@cagttraining.com</a>> wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">I'm new to python, trying to learn it from a variety of resources, including <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">references posted recently to this list.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I'm going through /www.openbookproject.net/thinkCSpy/ and find it makes use <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">of gasp, which apparently is not compatible with 3.1.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I've also seen various resources indicate that one can install both Python <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">2.7 and Python 3.1 -- but when I did this, I get no end of problems in the <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">2.7 install. IDLE, in particular, fails rather spectacularly, even if I <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">launch it directly from the Python 2.7 directory in which it resides.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">So, either I've been misled and should only try to have one or the other. OR <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I'm missing some (probably simple) step that's mucking me up.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Help?<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Yes, you can have multiple versions of Python installed on Mac OS X. In <br></blockquote><blockquote type="cite">fact, Apple ships multiple versions of Python with OS X (2.6 and 2.6 <br></blockquote><blockquote type="cite">with OS X 10.6, for example). Starting with Python 2.7, <a href="http://python.org/">python.org</a> <br></blockquote><blockquote type="cite">offers two variants of OS X installers, one is 32-bit-only and works on <br></blockquote><blockquote type="cite">all versions of OS X 10.3.9 through OS X 10.6, the other supports 64-bit <br></blockquote><blockquote type="cite">execution and only works on 10.6 (as of 2.7.1). Unfortunately, there <br></blockquote><blockquote type="cite">are some major interaction problems between Tkinter, Python's GUI <br></blockquote><blockquote type="cite">toolkit which is used by IDLE, and the Tcl/Tk 8.5 supplied by Apple in <br></blockquote><blockquote type="cite">OS X 10.6. I'm assuming you installed the 64-bit version. If so, until <br></blockquote><blockquote type="cite">the problem is resolved in the next maintenance release of Python 2.7, I <br></blockquote><blockquote type="cite">suggest you download and install the 32-bit-only version of Python 2.7.1 <br></blockquote><blockquote type="cite">which does not have those problems.<br></blockquote><blockquote type="cite"><br></blockquote><br>Thank you, Ned! Installing what appeared to be the 'old OS' version seems to fix my difficulty.<br>IDLE now works fine without hanging, I can enter code, save, check syntax, and run from the 'new window'.<br>And 3.1 still works as before.<br><br>regards,<br>Bill<br></body></html>