How to modify to record ASCII characters instead of keystrokes ?

Dr. Colombes DrColombes at
Fri Apr 11 01:45:27 CEST 2008

I've used successfully as a keystroke logger on Linux

How should be modified to function as an ASCII character
logger?  That is,  to record upper and lower case letters, lower case
"5" and upper case "%" characters, etc.

Shift and Caps Lock key press events are recorded by, but the
press event of the Shift and Caps Lock keys do not specify which, if
any, of the subsequent keys are to be interpreted as "upper case"

Thanks for your suggestions.

More information about the Python-list mailing list