At 04:08 AM 10/29/2007, Dick Moores wrote: >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?
Seems I should clarify that. I'm not looking for a script that echoes the key pressed. So I'll change that last line to "Could you show a script using it that, say, prints "Hello" if '1' is pressed and "Bye" if '2' is, AND uses <http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/134892> Dick _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor