I am trying to display a new label after a couple of seconds and destroy the old one but it doesn`t work as wished, when I press the button nothing happens. How do I do it?
What I have tried:
if f"{user}::{pword}" in accounts:
ID["text"] = "Checking..."
ID.after(500)
ID.destroy()
ID.after(500)
ID["text"] = "Login succesful!"
return True
else:
print("Failed")
return False