[Tutor] Looking for suggestions for improving chessTimer.py code

Eric Brunson brunson at brunson.com
Mon Oct 29 15:54:53 CET 2007


Dick Moores wrote:
> At 05:03 AM 10/29/2007, bhaaluu wrote:
>   
>> On 10/29/07, Dick Moores <rdm at rcblue.com> 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.

>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>   



More information about the Tutor mailing list