I have a tkinter GUI form which now showing some text from text file. Now i have a countdown module as below:
def countdown(t):
while t:
mins, secs = divmod(t, 60)
timeformat = '{:02d}:{:02d}'.format(mins, secs)
print(timeformat, end='\r')
time.sleep(1)
t -= 1
How can i show this countdown at tkinter tittle which show the time left for program reload ?
Thanks