SyntaxFix
Write A Post
Hire A Developer
Questions
A lot of answers ask you to use END, but if that's not working for you, try:
END
text.delete("1.0", "end-1c")