Dick Moores wrote: > At 07:54 AM 10/29/2007, Eric Brunson wrote: > >> Dick Moores wrote: >> >>> At 05:03 AM 10/29/2007, bhaaluu wrote: >>> >>> >>>> On 10/29/07, Dick Moores <[EMAIL PROTECTED]> wrote: >>>> >>>> >>>>> 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 >>>>> >>>>> >>> Thanks! I modified it slightly: >>> <http://www.rcblue.com/Python/toTestOnUnix.py>. Could a unix/linux >>> user see if it works? >>> >>> Dick >>> >>> >> Seems to work fine under my version of Linux and Solaris 10. >> > > Great! Thanks. Care to try another one?: > <http://www.rcblue.com/Python/toTestOnUnix2.py>. It uses the Cookbook > recipe Kent found for me > (<http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/134892>). >
Works fine. > Dick > > > _______________________________________________ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor