Jadwalkan fungsi python di dalam loop tkinter
root = Tk()
Alert Albatross
root = Tk()
def task():
root.after(2000, task) # reschedule event in 2 seconds
print("hello")
root.after(2000, task)
root.mainloop()