> tried hard to be as platform independant as possible, > and checking for a keyboard press is very platform dependant. But not too hard if you wrap the program in a Tkinter wrapper. Just a very small window which coulkd be iconified would do it. But I think checking for the Interrupt error as already suggested should suffice. Alan G.