I have got a problem with Tkinter. I made a GUI with two lists. On my Mac OS X everything works fine but on Windows my program is working but Tkinter GUI doesn't respond. I read about this and my problem probably is in time.sleep(10) what do I need to use to make a function delay? In my opinion Tkinter doesn't like time.sleep.
def showCars3():
while True:
global hotList
print("")
hotList.delete(0, END)
for car in hotCars:
hotList.insert(END, car.title)
hotList.update_idletasks()
time.sleep(10)
t5 = Thread(target = showCars3)