Complete noob to multithreading, any tips?
I've recently been making a typing game, like the ones I used to have in school to teach kids how to spell. The difference is, in this game you type the binary that makes up the ASCII characters in the word. I've wanted to add a timer that ticks down as you type, but I'm not sure how to get it to run while simultaneously accepting input. After a few searches, I was told to look into multithreading. How can I get a function to continue running, while another part of the script is being executed? Are there any modules you can recommend or other solutions to look into? Thank you for any suggestions!
Edit: Thank you all for the advice! I'm going to try out some of the suggestions. I forgot to mention that I was using the curses library for the project. I discovered that Curses has a method called .nodelay() so I might try that out first.