import structures
- From: spohle <spohle@xxxxxxxxx>
- Date: 30 Apr 2007 07:56:52 -0700
hi,
i have written a small project for myself all in seperate classes and
each of the classes lives in a seperate file. now i am looking for an
import structure something like import wx, and then have access to all
my classes just like wx.Button or wx.BoxSizer etc.
as of now i have a __init__.py file in the directory with:
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
but i still have to import each class by it's own. im really looking
for something like import wx
and then get all my access right away under this new namespace.
thank you in advance
.
- Follow-Ups:
- Re: import structures
- From: Duncan Booth
- Re: import structures
- From: Paul McGuire
- Re: import structures
- Prev by Date: Re: While we're talking about annoyances
- Next by Date: Re: import structures
- Previous by thread: Re-running script from Tk shell
- Next by thread: Re: import structures
- Index(es):