Event handling for COM object with win32com (pywin32)

Chris Angelico rosuav at gmail.com
Sun Jun 22 06:09:51 EDT 2014


On Sun, Jun 22, 2014 at 7:15 PM,  <peter.balazovic at emspin.com> wrote:
> This code works on python console but there is no event fired.
>
>>>> class fmstrEvents(object):
>     ...     def OnRecroderDone(self):
>     ...         print "Hello OnRecroderDone"

Is that supposed to say "OnRecroderDone" or "OnRecorderDone"? I can't
find any Google hits for the former, other than this exact question
(which you seem to have also posted to StackOverflow - I'm counting
that as the same), and the latter would be a much more obvious
spelling.

ChrisA



More information about the Python-list mailing list