title: Python: wait for user input, and if no input after 10 minutes, continue with program
body: <p>I tried: </p>
  
  <pre><code>from time import sleep
  while sleep(3): 
      input("Press enter to continue.") 
  </code></pre>
  
  <p>But it doesn't seem to work. I want the program to await user input, but if there's no user input after 10 minutes, continue with the program anyway. </p>
  
  <p>This is with python 3. </p>