Python Forum
[Tkinter] Is there a way to sleep without stopping user input?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Is there a way to sleep without stopping user input?
#1
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?
Reply
#2
[Tkinter] How to deal with code that blocks the mainloop, freezing the gui
Reply
#3
That or you use some version of Qt and the QTimer ;) but that would be a major paradigm shift for you I imagine
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Convert combobox user input in to date with tkinter Ame 8 2,851 Jul-01-2020, 09:40 PM
Last Post: Yoriz
  Create an identification code from user input PeroPuri 1 687 Apr-11-2020, 11:56 AM
Last Post: Larz60+
  [Tkinter] Tkinter/Turtle Stopping and Starting Timers Cleanly robin73 2 1,106 Apr-01-2020, 07:31 AM
Last Post: robin73
  [PyQt] Python PyQt5 - Change label text dynamically based on user Input ppel123 1 6,869 Mar-20-2020, 07:21 AM
Last Post: deanhystad
  PyQt5: How do you set the user input of a line edit to a specific variable? YoshikageKira 17 4,818 Dec-26-2019, 03:18 PM
Last Post: Denni
  [Tkinter] help please, checking the user input and outputting the result tomkovladko 3 1,329 Mar-05-2019, 08:58 PM
Last Post: joe_momma
  [PyGUI] Hi All, how to hide/mask user input in PySimpleGUI nmrt 1 7,023 Sep-21-2018, 09:59 AM
Last Post: nmrt

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020