Re: Need advice on python importing

2008-10-17 Thread George Sakkis
On Oct 17, 12:19 pm, Matthew Wilson <[EMAIL PROTECTED]> wrote: > I started with a module with a bunch of classes that represent database > tables. A lot of these classes have methods that use other classes > inside, sort of like this: > > class C(object): > @classmethod > def

Re: Need advice on python importing

2008-10-17 Thread Matthew Wilson
On Fri 17 Oct 2008 04:52:47 PM EDT, Steve Holden wrote: > Matthew Wilson wrote: >> I started with a module with a bunch of classes that represent database >> tables. A lot of these classes have methods that use other classes >> inside, sort of like this: >> >> class C(object): >> @cla

Re: Need advice on python importing

2008-10-17 Thread Steve Holden
Matthew Wilson wrote: > I started with a module with a bunch of classes that represent database > tables. A lot of these classes have methods that use other classes > inside, sort of like this: > > class C(object): > @classmethod > def c1(cls, a): > return a > >

Need advice on python importing

2008-10-17 Thread Matthew Wilson
I started with a module with a bunch of classes that represent database tables. A lot of these classes have methods that use other classes inside, sort of like this: class C(object): @classmethod def c1(cls, a): return a class D(object): def d1(self, a