waiting for user input in separate thread
Looks like there is no way to time user input. In the link that SmartElectron provided, the solution does not work since the timer is halted once the raw_input is requested. Best solution so far is: # Declare a mutable object so that it can be pass via reference user_input = [None] # spawn a … Read more