how do I pass values between classes?
nitte.sudhir at gmail.com
Mon Nov 6 08:00:43 CET 2006
hi, Larry Bates .... thanks for the reply...
> You might consider doing it the same way wx passes things around.
> When you instantiate the subclass pass the parent class' instance
> as first argument to __init__ method.
Yes thats absolutely right..
> That way the subclass can
> easily pass values back to the parent by using that pointer.
Could you please explain me this.. more clearly. I think it is much
close to the solution.
More information about the Python-list