Newbie IDLE - import issues

Kenny Tilton ktilton at nyc.rr.com
Tue Nov 26 10:24:59 EST 2002


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.


-- 

  kenny tilton
  clinisys, inc
  ---------------------------------------------------------------
""Well, I've wrestled with reality for thirty-five years, Doctor,
   and I'm happy to state I finally won out over it.""
                                                   Elwood P. Dowd






More information about the Python-list mailing list