On Wed, Aug 19, 2009 at 7:14 PM, David Shunick<dshun...@comcast.net> wrote: > I'm trying to learn Python, but keep running into the erroor message > ImportError: no module named area. > > I created a file area.py in IDLE. I'm using Python 3.1 and Window XP. After > saving the file in c:/Python31/Lib/Python Modules/area.py > > I can run the program using F5. But when I start a new shell, and enter > import area, that's when I get the error message. And it's not just this > program.I have the same problem with all that I try to import.
"Python Modules" is not a folder recognized by Python. Try putting the file in Python31/Lib/site-packages/area.py Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor