> My xturtle package > > http://www.rg16.at/~python/xturtle/download.html >
I've downloaded it and started playing around. My habit is to already be in a shell, such as IDLE, and access everything by importing, like this: IDLE 1.2.1 >>> import xturtle # changed folder name xturtle0.95a0 - bugfixes: 1 No config file! >>> from xturtle import xturtle >>> dir(xturtle) ['Pen', 'RawPen', 'RawTurtle', 'ScrolledCanvas', ... etc. >>> theturtle = xturtle.Turtle() >>> theturtle.forward(10) >>> theturtle.rotate(90) etc. This works well so far, after I install your directory and subdirectories under site-packages (where I expect all 3rd party tools), then add an __init__.py file so it works as a package. I haven't yet gotten the demo viewer to work by importing it interactively -- working on it. In my own classroom, I don't like to run Python modules from bash or other non-Python command line, nor do I enjoy hitting F5 or some other key to make them run (annoying when VPython would mess with the default startup config, and take me to IDLE's text editor upon booting IDLE -- I always set it back to normal). I like to start in some interactive Python shell and import to enrich my local namespace, picking and choosing which top-level classes and functions, using Python as a calulator. Of course this isn't always possible with IDLE, given Tk mainloop contention issues (but is how the old turtle.py works, and so far xturtle.py as well, which I like. Kirby _______________________________________________ Edu-sig mailing list [email protected] http://mail.python.org/mailman/listinfo/edu-sig
