How to intercept a keypress using python?

Samuel Walters swalters_usenet at
Mon Jan 12 21:22:18 CET 2004

|Thus Spake Ticachua On the now historical date of Mon, 12 Jan 2004
09:50:38 -0800|

> 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.

Some people in alt.2600 and alt.crackers will certainly know where to find
such tools.  Have you asked there?

Never forget the halloween documents.
""" Where will Microsoft try to drag you today?
    Do you really want to go there?"""

More information about the Python-list mailing list