How to intercept a keypress using python?

Ticachua teengo at yahoo.com
Mon Jan 12 12:50:38 EST 2004


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.



More information about the Python-list mailing list