How to intercept a keypress using python?

Ticachua teengo at yahoo.com
Tue Jan 13 16:07:19 EST 2004


Tim Golden <tim.golden at viacom-outdoor.co.uk> wrote in message news:<mailman.318.1073996351.12720.python-list at python.org>...
> >-----Original Message-----
> >From: teengo at yahoo.com [mailto:teengo at yahoo.com]
> >Sent: 12 January 2004 17:51
> >To: python-list at python.org
> >Subject: How to intercept a keypress using python?
> >
> >
> >Hello all,
> >
> >Does anyone know how to intercept user's keypress or 
> >mouseclick in Python?
> >I'd like to write a small tool (Python-based preferrably) running on
> >Windows to capture the user's keypresses and mouseclicks and write 
> >them to a file.
> >
> >Thanks for your help.
> >-- 
> 
> Check out:
> http://mail.python.org/pipermail/python-list/2003-November/195739.html
> 
> TJG
> 
> 
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star Internet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________

Thanks a bunch Tim.



More information about the Python-list mailing list