[Tutor] Lost Modules?

Gus Tabares gus.tabares@verizon.net
Fri, 23 Aug 2002 20:30:34 -0400


Hello,

  What is your PYTHONPATH set to?


Gus
-----Original Message-----
From: tutor-admin@python.org [mailto:tutor-admin@python.org]On Behalf Of
J. Childers
Sent: Friday, August 23, 2002 3:11 PM
To: tutor@python.org
Subject: [Tutor] Lost Modules?


Hi,

I am at my wits end trying to learn Python. When I create a module
("mymod.py") and then try to
import it, Python tells me it cannot find a module of that name.

"Import can't find module, or can't find name in module: No module
named mymod"

Yet it is there, in the directory named in os.getcwd(). What the heck am I
doing wrong? This
behavior is consistent for any modules I create. Arg!

Jeff

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor