Re: [Tutor] dump class question

2006-11-12 Thread Alan Gauld
"johnf" <[EMAIL PROTECTED]> wrote > Myclass.py file contains: > > Class one(object): > def needsomething(self): > Class two (object): > def dosomething(self): > > I want Class one's methods to access Class two methods? Thats pretty wierd and would suggest a problem in your class design. Ca

[Tutor] dump class question

2006-11-12 Thread johnf
Hi, Is it possible to a single that contains two classes: Myclass.py file contains: Class one(object): def needsomething(self): Class two (object): def dosomething(self): I want Class one's methods to access Class two methods? Class one(object): def needsomething(self): return dosom