[Edu-sig] Happy New Year 2011!!!

Corey Richardson kb1pkl at aim.com
Sun Jan 2 03:45:56 CET 2011


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?
>
> Cheers,
> Vern
>
> On Sat, Jan 1, 2011 at 9:12 PM, A. Jorge Garcia <calcpage at aol.com
> <mailto:calcpage at 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 at python.org <mailto:Edu-sig at python.org>
>     http://mail.python.org/mailman/listinfo/edu-sig
>
>
>
>
> --
> Vern Ceder
> vceder at gmail.com <mailto:vceder at gmail.com>, vceder at dogsinmotion.com
> <mailto:vceder at dogsinmotion.com>
> The Quick Python Book, 2nd Ed - http://bit.ly/bRsWDW
>
>
>
>
> _______________________________________________
> Edu-sig mailing list
> Edu-sig at python.org
> http://mail.python.org/mailman/listinfo/edu-sig
 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.


More information about the Edu-sig mailing list