wrote
"Python Modules" is not a folder recognized by Python. Try putting the
file in Python31/Lib/site-packages/area.py
Although that solved your problem I tend to use sire-packages for third
party modules I've downloaded - and can download again.
For my own code I keep a separate Proje
Changing the folder to site-packages did the trick.
Thanks
David Shunick
- Original Message -
From: "Kent Johnson"
To: "David Shunick"
Cc: tutor@python.org
Sent: Wednesday, August 19, 2009 6:26:19 PM GMT -08:00 US/Canada Pacific
Subject: Re: [Tutor] Help on
g
> Sent: Wednesday, August 19, 2009 6:02:42 PM GMT -08:00 US/Canada Pacific
> Subject: Re: [Tutor] Help on input error
>
> Can you import other (Standard library) modules? or can you not import
> anything?
>
> On Wed, Aug 19, 2009 at 6:14 PM, David Shunick wrote:
>
&g
On Wed, Aug 19, 2009 at 7:14 PM, David Shunick 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
Can you import other (Standard library) modules? or can you not import
anything?
On Wed, Aug 19, 2009 at 6:14 PM, David Shunick 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 Pyt
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 s