How to get user input with time limit?

Chris Wright wrightca at hotmail.com
Sun Oct 17 03:14:02 EDT 2004


User wrote:
> Anyone know of a function like raw_input(), but with a built-in or
> user-specified time limit?  Ideally, it would return an empty string
> ('') and resume processing if the user didn't enter something within
> ~10 seconds.

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/307871
might help

Chris Wright



More information about the Python-list mailing list