How to timeout when waiting for raw_input from user ?

Rune Strand rune.strand at gmail.com
Sat Dec 5 09:01:38 EST 2009


The easiest wasy is to use the Timer object in the threading module.


from threading import Timer




More information about the Python-list mailing list