Apr-07-2021, 11:04 AM
The problem you are having is the while loop in "setInterval()" prevents "root.mainloop()" from running. If root.mainloop() doesn't run you program does not react to events like button presses. mainloop() can be the only forever loop in you tkinter app.