On Jun 30, 2006, at 10:16 AM, Simen Haugen wrote:
> But Wing IDE can't > import packages (I don't think it's using __init__.py)! It's a > slightly > slow start on a new IDE.
That's a basic Python thing; it's nothing that Wing should need to do.
> I have the following structure for my program > Main.py > biz\__init__.py > biz\myBiz.py > > __init__.py: > >> From myBiz import * >> > > Main.py: > import biz #this does not work. Can't be found
Don't know if that was just a typo in your post, but the initial 'F' in 'From myBiz import *' should be lower-case.
-- Ed Leafe -- http://leafe.com -- http://dabodev.com
©2006 Ed Leafe |