Re: Why does this code crash python?

2006-11-11 Thread Mythmon
On Nov 11, 3:23 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > I have no knowledge of Console, but under Windows I was able to hack > this (see bottom of post) together using only one non-portable library > -- msvcrt. Oh, and an ActiveState 2.4 build. I'm not touching 2.5 until > a lot of 3rd

Re: Why does this code crash python?

2006-11-11 Thread Mythmon
s to worse I can try and use keyboard hooks, I've looked at those before, and they might work better. --Mythmon -- http://mail.python.org/mailman/listinfo/python-list

Why does this code crash python?

2006-11-11 Thread Mythmon
I am trying to make a program that will basically simulate a chess clock in python. To do this I have two threads running, one that updates the currently running clock, and one that watches for a keypress. I am using the effbot Console module, and that is where I get the events for the keypresses.