This is my code:
import tkinter as tk
import time
screen = tk.Tk()
normal_label = tk.Label()
normal_label.pack()
for i in range(1, 50):
time.sleep(0.1)
normal_label.configure(text=str(i))
screen.mainloop()
If I run this the window doesn't appear until the timer has run out. What I want to happen is that a screen will appear that will count down. This is just an example of what I want to make, the real code is to big and needs to much context to show. How do I fix this?