On Wed, Jun 1, 2011 at 2:52 PM, Gregor Lingl <span dir="ltr"><<a href="mailto:gregor.lingl@aon.at">gregor.lingl@aon.at</a>></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's fine that you "host" a slightly amended version of chaos.py<br>
on your website.<br>
<br></blockquote><div><br></div><div>Thanks Gregor. I've also got John Zelle's graphics.py in the docket.</div><div><br></div><div>Having any backend code is a somewhat new idea. I'm trying</div><div>to keep a toe hold for Tk, as Eclipse is regarded as "heavy" and</div>
<div>if we didn't need widget programming, it'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'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'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'm left with an open window</div><div>in the background that I can'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'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'm helping shape.</div><div><br></div><div>If we use graphics.py, it'll probably to do some black and orange </div>
<div>brick patterns like in New Kind of Science (Wolfram). I'm already</div><div>doing all 256 rules in "ascii art". Quoting from a console:</div><div><br></div><div><div>import sys; print('%s %s' % (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 "<console>", line 1, in <module></div>
<div> File "\\beam\software\Python4\site-packages\ost\nks.py", line 6, in <module></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 "<console>", line 1, in <module></div><div> File "\\beam\software\Python4\site-packages\ost\lifegame.py", line 8, in <module></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 "<console>", line 1, in <module></div>
<div> File "\\beam\software\Python4\site-packages\ost\lifegame.py", line 8, in <module></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>