[Tutor] Inheriting Classes and __init__

Wesley Brooks wesbrooks at gmail.com
Fri Jan 26 14:27:03 CET 2007


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 the inheriting class it would overide the init in
the inherited class?

Yours faithfully,

Wesley Brooks


More information about the Tutor mailing list