I\'m trying to clear the Entry widget after the user presses a button using Tkinter.
Entry
I tried using ent.delete(0, END), but I got an error
ent.delete(0, END)
First of all, make sure the Text is enabled, then delete your tags, and then the content.
myText.config(state=NORMAL) myText.tag_delete ("myTags") myText.delete(1.0, END)
When the Text is "DISABLE", the delete does not work because the Text field is in read-only mode.