Good day. I am currently learning Python and difficulty has arisen. There is a small weather widget. It is necessary for him to update the information in the n-th number of seconds. How to implement it? Thanks in advance
owm = pyowm.OWM('87c7712a9b72646a269102230858837b') observation = owm.weather_at_place("Donetsk") w = observation.get_weather() temperature = w.get_temperature('celsius')['temp'] status = w.get_status() root = Tk() root.title('Погода') root.geometry('150x100') label = Label(text='Температура: '+ str(temperature)) label2 = Label(text='Небо: ' + str(status)) label.grid() label2.grid() root.mainloop()