Newbie IDLE - import issues

sismex01 at hebmex.com sismex01 at hebmex.com
Tue Nov 26 10:22:44 EST 2002


> From: Kenny Tilton [mailto:ktilton at nyc.rr.com]
> Sent: Tuesday, November 26, 2002 9:25 AM
> 
> sismex01 at hebmex.com wrote:
> >>From: Kenny Tilton [mailto:ktilton at nyc.rr.com]
> >>Sent: Tuesday, November 26, 2002 9:10 AM
> >>
> >>sismex01 at hebmex.com wrote:
> >>
> > 
> >>>I can only say that this sounds like some module you're
> >>>trying to import isn't in your sys.path.
> >>
> >>no, but I supply the path:
> >>
> >>   import cells.cell
> >>
> > 
> > 
> > 
> > Ahh! I *almost* know what's going on...
> > 
> > 
> .....
> > 
> > does the "cells" directory have a "__init__.py" file, even if
> > it's an empty file?  
> 
> yes, i had to sneak those in when I tried FROM in the hopes it would 
> solve the problem. first it didn't work, then i got those in 
> there and From /did/ work, so I am pretty sure that is all OK.
>

Hmmm... strange...

So I'll wait for more concrete info. :-)

-gustavo




More information about the Python-list mailing list