2

Possible Duplicate:
How to set time limit on input

In python 3.2, is there a way to, while waiting for a user input, count time so that after 10 seconds, the input() function is automatically skipped and script continues.

I am running the script on Windows. The objective to wait for user input (Do you want to continue y/n), in case if the user does not provide any input, the script should continue after pausing for 10 seconds.

Community
  • 1
  • 1

0 Answers0