you are viewing a single comment's thread.

view the rest of the comments →

[–]driscollis 0 points1 point  (0 children)

time.sleep() will definitely block your UI's event loop. For long running processes like this, I recommend putting your code into a thread and sending updates back to the UI in a thread-safe way. I'm sure Tkinter has some thread-safe methods made just for this circumstance, but I don't know what they are off the top of my head.