At 03:44 AM 10/29/2007, Kent Johnson wrote: >http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/134892 Kent, I'm still too dumb to see how to use that. Could you show a script using it that, say, prints 1 if '1' is pressed and 2 if '2' is? Thanks, Dick