On Wed, Jun 1, 2011 at 2:52 PM, Gregor Lingl <span dir="ltr">&lt;<a href="mailto:gregor.lingl@aon.at">gregor.lingl@aon.at</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>Hi Kirby,<br>
<br>
it&#39;s fine that you &quot;host&quot; a slightly amended version of chaos.py<br>
on your website.<br>
<br></blockquote><div><br></div><div>Thanks Gregor.  I&#39;ve also got John Zelle&#39;s graphics.py in the docket.</div><div><br></div><div>Having any backend code is a somewhat new idea.  I&#39;m trying</div><div>to keep a toe hold for Tk, as Eclipse is regarded as &quot;heavy&quot; and</div>
<div>if we didn&#39;t need widget programming, it&#39;d probably be gone.</div><div><br></div><div>I think Tk widget programming is valuable exercise with many</div><div>transferable skills, for times when you&#39;re using other widget </div>
<div>libraries.  Gives important insights into IDLE as well, which</div><div>for better or worse is still what many use out of the box.</div><div><br></div><div>We had threads here earlier about dropping IDLE from the </div>
<div>standard distro and swapping in something for leading edge.  No </div><div>candidates came forward though, vindication of Tk in a lot</div><div>of ways (as a cross-platform solution).</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

The original file is part of the demo that ships with Python and<br>
the turtledemo has been moved into  the Lib-directory of the<br>
standard distribution.<br>
<br></blockquote><div><br></div><div>I&#39;ve done very few experiments with turtles on the OST server.</div><div>None of the current Python track courses require it.  Tk, however,</div><div>is used.  In principle, the turtle stuff, including chaos, should run.</div>
<div><br></div><div>My problem is when I run chaos, I&#39;m left with an open window</div><div>in the background that I can&#39;t seem to close.  This is launching</div><div>from inside Eclipse, which is usually pretty good with Tk </div>
<div>applications (a major focus in the 2nd course, mixed in with</div><div>SQL).</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Some of these demo-scripts suffer from (more or less minor :-) )<br>
quirks or deficiencies and could be amended in this or that way.<br>
<br>
I think that such amendments should go into Python 3.3. So if<br>
you or anybody else have any ideas, complaints or - as shown here -<br>
propositions or results, please let&#39;s discuss them, so the turtledemo<br>
can obtain not only a demo- but also an enhaced educational value.<br>
<br></blockquote><div><br></div><div>I have no complaints.  Just wanting to keep Tk on life support, as an</div><div>aspect of a curriculum I&#39;m helping shape.</div><div><br></div><div>If we use graphics.py, it&#39;ll probably to do some black and orange </div>
<div>brick patterns like in New Kind of Science (Wolfram).  I&#39;m already</div><div>doing all 256 rules in &quot;ascii art&quot;.  Quoting from a console:</div><div><br></div><div><div>import sys; print(&#39;%s %s&#39; % (sys.executable or sys.platform, sys.version))</div>
<div>C:\Python\python.exe 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit (Intel)]</div><div>import ost</div><div>from ost.nks import *</div><div>Traceback (most recent call last):</div><div>  File &quot;&lt;console&gt;&quot;, line 1, in &lt;module&gt;</div>
<div>  File &quot;\\beam\software\Python4\site-packages\ost\nks.py&quot;, line 6, in &lt;module&gt;</div><div>    from lifegame import Sensor</div><div>ImportError: No module named lifegame</div><div>import ost.lifegame</div>
<div>Traceback (most recent call last):</div><div>  File &quot;&lt;console&gt;&quot;, line 1, in &lt;module&gt;</div><div>  File &quot;\\beam\software\Python4\site-packages\ost\lifegame.py&quot;, line 8, in &lt;module&gt;</div>
<div>    from farmworld import Farm, Tractor, wordplow</div><div>ImportError: No module named farmworld</div><div>import ost.farmworld</div><div>import ost.lifegame</div><div>Traceback (most recent call last):</div><div>  File &quot;&lt;console&gt;&quot;, line 1, in &lt;module&gt;</div>
<div>  File &quot;\\beam\software\Python4\site-packages\ost\lifegame.py&quot;, line 8, in &lt;module&gt;</div><div>    from farmworld import Farm, Tractor, wordplow</div><div>ImportError: No module named farmworld</div></div>
<div><br></div><div>Getting nowhere here.  This is a student server and may not have my latest </div><div>commits to CVS.  Sorry...</div><div><br></div><div>Kirby</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Best regards<br>
<br>
Gregor<br><br></blockquote></div>