Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '22,': 0.09; 'counting': 0.09; 'latter': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'def': 0.12; 'posted': 0.15; '"hello': 0.16; 'former,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'hits': 0.16; 'subject:handling': 0.16; 'subject:object': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'print': 0.22; 'question': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; '(which': 0.31; 'code': 0.31; '>>>>': 0.31; 'class': 0.32; 'supposed': 0.32; 'subject: (': 0.35; 'subject:with': 0.35; "can't": 0.35; 'but': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'there': 0.35; 'skip:o 20': 0.38; 'pm,': 0.38; 'more': 0.64; 'obvious': 0.74; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=Yn49Cwx7LizAGcm01MgqNv0oFgu0siZvbpF0shbVVYw=; b=CNHQxDeflb/7xaxpjg77U8IZG9f8UR0D9bxPtV52fLTWDQFTiB3zaYVpQG5rnW2b0b ksq/6y+8M6QyRGcEJKZJTwxeE+J2Vgd/RnPQeir54tYIQKC5/AFjqgTlx5MVyV8CRswH 2At2ge0XiKeG+JJqOH3vuKCBNTU7saqQArg0qyGKulRjdPrQeubMrtM51YIKEtEVWXW/ JYL1EwPfpBXyF5ROO5caz3Amnd1PHgVBUmJoDX/DC2mz3kOzgcZARbBLs34foX8q1CDG MzT7yaNPM8tKobWwcKEZbxU617UDnTwAJiOFHXaRv+O9lDoKa5Is3weafi77CfrS+lU0 plYQ== MIME-Version: 1.0 X-Received: by 10.221.63.195 with SMTP id xf3mr321449vcb.36.1403431791366; Sun, 22 Jun 2014 03:09:51 -0700 (PDT) In-Reply-To: <8bd5e4fd-22d2-40d5-b13c-022c9e610abf@googlegroups.com> References: <8bd5e4fd-22d2-40d5-b13c-022c9e610abf@googlegroups.com> Date: Sun, 22 Jun 2014 20:09:51 +1000 Subject: Re: Event handling for COM object with win32com (pywin32) From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1403431799 news.xs4all.nl 2873 [2001:888:2000:d::a6]:45070 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73494 On Sun, Jun 22, 2014 at 7:15 PM, 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