Re: [Tutor] Inheriting Classes and __init__

2007-01-26 Thread Wesley Brooks
Thanks again, that is a great help. Wesley Brooks On 26/01/07, Kent Johnson <[EMAIL PROTECTED]> wrote: > Wesley Brooks wrote: > > Dear Users, > > > > I would like a class to inherit the methods from wxVTKRenderWindow, > > but to add a few lines of code to __init__ . I would prefer not to > > copy

Re: [Tutor] Inheriting Classes and __init__

2007-01-26 Thread Kent Johnson
Wesley Brooks wrote: > Dear Users, > > I would like a class to inherit the methods from wxVTKRenderWindow, > but to add a few lines of code to __init__ . I would prefer not to > copy the whole init method from the inherited class into the > inheriting class. What is the best approach for this? I g

[Tutor] Inheriting Classes and __init__

2007-01-26 Thread Wesley Brooks
Dear Users, I would like a class to inherit the methods from wxVTKRenderWindow, but to add a few lines of code to __init__ . I would prefer not to copy the whole init method from the inherited class into the inheriting class. What is the best approach for this? I guess that if I have an init in th