Time Bound Input in python

Emile van Sebille emile at fenx.com
Mon Sep 3 11:27:26 EDT 2012


On 9/3/2012 3:01 AM Vikas Kumar Choudhary said...
> Hi
>
> I though of taking time bound input from user in python using "input"
> command.
> it waits fro infinite time , but I want to limit the time after that
> user input should expire with none.
> Please help.
>

Googling yields 
http://stackoverflow.com/questions/1335507/keyboard-input-with-timeout-in-python 
among others.

Emile




More information about the Python-list mailing list