> ** **
>
> 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*.****
>
>
>

Hi Karine --

This sounds like an issue with sys.path, a list of directories to search
when import is used.

Windows installations of Python would not normally have My Documents or
Desktop in sys.path I don't think.  However these may be added.

You can also show your students how to:

>>> import sys
>>> sys.path.append("c:\\...")  # whatever path

That won't stick across sessions though.  For that you could use .pth files
in your \\site-packages, which latter will be on sys.path and is the usual
place to save your own classroom work.

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

Reply via email to