[Edu-sig] Happy New Year 2011!!!
vceder at gmail.com
Sun Jan 2 04:01:37 CET 2011
On Sat, Jan 1, 2011 at 9:45 PM, Corey Richardson <kb1pkl at aim.com> wrote:
> On 01/01/2011 09:38 PM, Vern Ceder wrote:
>> Pardon my jumping in, but is turtle available from the interactive
>> shell? The turtle module should be in /usr/lib/Python2.6/lib-tk on an
>> Ubuntu 10.4 installation. If it is, then it should work fine from your
>> scripts. Is it available for you when you log onto the machine directly?
>> On Sat, Jan 1, 2011 at 9:12 PM, A. Jorge Garcia <calcpage at aol.com
>> Well, I set up 25 PCs in my classroom on a gigabit LAN. Each PC is
>> running Ubuntu Desktop 10.04 - so, yes they have gnome and yes they
>> have a GUI browser (Firefox).
>> I took one of these PCs and called it the "server/teacher station."
>> On this PC I added vsftp to share files with my students and
>> openssh so they can login to my PC as a server to save their work.
>> I call my PC the "teacher station" because I use it with a PC
>> Projector and a Slate (bluetooth remote mouse) mimicking a
>> SmartBoard setup to demo code and give notes and even show some
>> educational YouTube! I recently added python and IDLE to this server:
>> apt-get install python
>> apt-get install idle
>> We tried IDLE but prefer python scripts. So, I have my students
>> login to the server via ssh from their "student stations" and write
>> python scripts like hello.py which they chmod to make executable
>> chmod 755 hello.py
>> which works fine if the first line in the script is
>> I tried to import turtle in a script using this environment but
>> turtle was not found.
>> You say VPython works well with IDLE? I was hoping to add VPython,
>> GASP or turtle graphics to my scripts.
>> What do you think?
>> A. Jorge Garcia
>> Applied Math and CompSci
>> From what I've read so far, the students are SSHing into a sever, and
> writing their scripts from there (nano, vi, etc?). AFAIK, SSH is usually
> just shell, which means no GUI from the host, and they can't use turtle
> because it is a GUI app, using Tkinter IIRC.
> Edu-sig mailing list
> Edu-sig at python.org
Right, the turtle and Tkinter are GUI apps, but the OP said they connect
with the -Y parameter for X11 forwarding, so it should open an X11 window on
their machines - this is standard behavior for ssh. And the OP said turtle
was not found, not that a screen couldn't be opened.
vceder at gmail.com, vceder at dogsinmotion.com
The Quick Python Book, 2nd Ed - http://bit.ly/bRsWDW
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Edu-sig