[python-win32] pywin32 py2exe
Jerry Hill
malaclypse2 at gmail.com
Mon Jun 6 20:19:33 CEST 2011
On Fri, Jun 3, 2011 at 6:55 AM, Umesh Sharma <usharma01 at gmail.com> wrote:
> i = input #waiting till event captured
This doesn't wait for anything. It assigns the function input to the
local name i. You probably want "i = input()" instead, which will
force the dos window to stay open until the user hits enter.
Plus, as Mark already pointed out, you'll probably never get any
notification of your event if you're not running the message pump.
I'm not sure how this could "work fine" on the command line.
--
Jerry
More information about the python-win32
mailing list