> doesn't. You could also try a Timer object from the > threading class; it's even easier than a signal alarm. I don't see how to do it with a Timer object only. Could you rewrite the regexp example with a Timer object such that it works? Klaus