[Edu-sig] import turtle ERROR

Karine Laidley K.Laidley at amsacs.org
Fri Apr 12 16:07:12 CEST 2013


It was IDLE shell and IDLE script window.

The cases where kids used "turtle.py", I made them change that name and that worked. But there were a handful who didn't use a suspicious file name so these are my issue at the moment.

Thanks everyone for your responses. I will get a chance to test out your suggestions this afternoon...

Thank you,

Karine Laidley

Computer Science Teacher (6th and 7th grade)
AMSA Charter School
Marlborough, MA
(508)597-2400
k.laidley at amsacs.org

From: anharrington at gmail.com [mailto:anharrington at gmail.com] On Behalf Of Andrew Harrington
Sent: Thursday, April 11, 2013 3:42 PM
To: Karine Laidley
Cc: edu-sig at python.org
Subject: Re: [Edu-sig] import turtle ERROR

Please elaborate on your environment.  Is the shell the OS shell or the IDLE shell?  What code editing environment, IDLE or what?  What OS?

Could different students retain different personal environments?

On Thu, Apr 11, 2013 at 2:16 PM, Karine Laidley <K.Laidley at amsacs.org<mailto:K.Laidley at amsacs.org>> wrote:
Hi python experts,

I am teaching python turtle graphics now and in class, most students have been successful using it. However, several students today got the same error message complaining about "module does not exist". If they run the same code in the shell (I am using version 3.3), it works just fine. But the second they copy the code into the code editor window (file), it fails with that error. Then I thought maybe it is because the file is saved on the school network under the student's "My Documents" set up on the server side.

So I copied the file to the desktop and test it from there but that failed too. I eventually copied the file to the python directory (c:\python33) and that worked.

So I guess the location of the file decided to act out just for those few students... Other students using the same computers were fine.  Is there a way to make this work CONSISTENTLY for all users from their own "My Documents" on the server? I would hate to make them all save on the C drive, for backup issues and security issues (they can see other people's files there)...

I hope this is a simple fix!! Please let me know...

Thank you,

Karine Laidley

Computer Science Teacher (6th and 7th grade)
AMSA Charter School
Marlborough, MA
(508)597-2400<tel:%28508%29597-2400>
k.laidley at amsacs.org<mailto:k.laidley at amsacs.org>


_______________________________________________
Edu-sig mailing list
Edu-sig at python.org<mailto:Edu-sig at python.org>
http://mail.python.org/mailman/listinfo/edu-sig



--
Dr. Andrew N. Harrington
  Computer Science Department
  Loyola University Chicago
Lakeshore office in the Math Department: 104 Loyola Hall
http://www.cs.luc.edu/~anh
Phone: 312-915-7999
Fax:    312-915-7998
aharrin at luc.edu<mailto:aharrin at luc.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/edu-sig/attachments/20130412/ebe0ea60/attachment.html>


More information about the Edu-sig mailing list