Python Forum

Full Version: Is there a way to sleep without stopping user input?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am making an idle game, I will be using tkinter in the future but for now I am using the console as a sort of testing ground. I am trying to make a passive income feature (the player gets awarded £1 every 1 second) but the code has to be able to activate other functions in that time. Is there any way this is possible?
That or you use some version of Qt and the QTimer ;) but that would be a major paradigm shift for you I imagine