Donnal Walter wrote:
> Each "presenter" (instance) needs its own "view" (instance). The class
> attribute references a wxPython class. The resulting instance attribute
> references a wxPython object (widget or container).
This is a reasonable idea, but it would be less confusing
to give the cla
Well, I've never heard of a method like that for assigning variables.
I'd rather put it in the __init__ method.
--
http://mail.python.org/mailman/listinfo/python-list
Devan L wrote:
> Why make it an instance attribute? Couldn't you just look at
> the class attribute?
Each "presenter" (instance) needs its own "view" (instance). The class
attribute references a wxPython class. The resulting instance attribute
references a wxPython object (widget or container)
Why make it an instance attribute? Couldn't you just look at the class
attribute? If its something that depends on each instance's value
assigned to the attribute, why not make it an instance attribute to
start with?
--
http://mail.python.org/mailman/listinfo/python-list