I have this program which beeps every second until it\'s stopped. The problem is that after I press \"Start\" and the beeps starts, I cannot click the \"Stop\" button becaus
The problem is that the while loop in start() blocks the GUI handler mainloop(). Try using Tk.after() in start():
def start(force=True):
global running
if force:
running = True
if running:
winsound.Beep(Freq, Dur)
top.after(1000, start, False)
And change stop():
def stop():
global running
running = False