Re: how terminate console(not Ctrl-C)

2007-11-22 Thread oj
On Nov 22, 3:58 am, NoName <[EMAIL PROTECTED]> wrote: > Is it possible to interrupt loop (program) by pressing Q key like Ctrl- > C? > how can i hook user's keypress while program running? > > thnx There's a quite complicated example here: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/2

how terminate console(not Ctrl-C)

2007-11-21 Thread NoName
Is it possible to interrupt loop (program) by pressing Q key like Ctrl- C? how can i hook user's keypress while program running? thnx -- http://mail.python.org/mailman/listinfo/python-list