I'm new to Python, and OOP. I've read most of Mark Lutz's book and more
online and can write simple modules, but I still don't get when __init__
needs to be used as opposed to creating a class instance by assignment. For
some strange reason the literature seems to take this for granted. I'd
app
I see a more complicated thread on a similar sounding question, but my
question is simpler, I hope.
I have a large numpy matrix, initially created as:
Mat = zeros((a,b), int)
and a smaller array with other data
Sub = [1,2,3,4,5],[6,7,8,9,0]
I want to replace a section of Mat matrix with Sub m
I'd appreciate any pointer on a simple way to tell within an event handler
where the event came from.
I want to have "while" condition in a handler to stop or change processing
if an event occurs from some other button click.
Trying to bind more than one event to the same handler still doesn't t
> def HandleSomething(self, event):
>generating_control = event.GetEventObject()
>print generating_control
>
> HTH,
Thank you.That is what I was looking for, but as often seems the case, one
thing exposes another. Is there any way to listen for events without
specifically binding to a ha
That all looks cool. I will experiment more. I'm a bit slow on this as only
two weeks old so far.
Thanks for the patience
--
http://mail.python.org/mailman/listinfo/python-list
"Mike Driscoll" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Jan 15, 2:20 pm, "Erik Lind" <[EMAIL PROTECTED]> wrote:
>> That all looks cool. I will experiment more. I'm a bit slow on this as
>> only
>> two weeks old