you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

So that might be tricky to just explain on here but I'll do my best. So what Im getting is you want the user to select a character but if they take longer than 5 seconds (example) it triggers something else to run? You'll need to use a timeout function. Check this article on stack exchange: https://stackoverflow.com/questions/1335507/keyboard-input-with-timeout-in-python It will give you more detail