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? 

Cheers,
Vern

On Sat, Jan 1, 2011 at 9:12 PM, A. Jorge Garcia <calcpage@aol.com> wrote:

Oh, I maybe see the problem, you're talking about more like a dumb terminal setup with X running in a server session if at all.  You're going over the
network to get Python.
<<
Something like that...


Do they get a GUI desktop?  GNOME?
<<

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

#!/usr/bin/python

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?

TIA,
A. Jorge Garcia
Applied Math and CompSci
http://shadowfaxrant.blogspot.com
http://www.youtube.com/calcpage2009

_______________________________________________
Edu-sig mailing list
Edu-sig@python.org
http://mail.python.org/mailman/listinfo/edu-sig



--
Vern Ceder
vceder@gmail.com, vceder@dogsinmotion.com
The Quick Python Book, 2nd Ed - http://bit.ly/bRsWDW