Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #73494

Re: Event handling for COM object with win32com (pywin32)

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 <rosuav@gmail.com>
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 <rosuav@gmail.com>
Cc "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.11185.1403431799.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Sun, Jun 22, 2014 at 7:15 PM,  <peter.balazovic@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Event handling for COM object with win32com (pywin32) peter.balazovic@emspin.com - 2014-06-22 02:15 -0700
  Re: Event handling for COM object with win32com (pywin32) Chris Angelico <rosuav@gmail.com> - 2014-06-22 20:09 +1000
    Re: Event handling for COM object with win32com (pywin32) peter.balazovic@emspin.com - 2014-06-22 04:55 -0700
      Re: Event handling for COM object with win32com (pywin32) Chris Angelico <rosuav@gmail.com> - 2014-06-22 22:02 +1000
  Re: Event handling for COM object with win32com (pywin32) Kevin Walzer <kw@codebykevin.com> - 2014-06-22 11:22 -0400

csiph-web