tkinter clear entry
widget.delete(0, END)
clear text box tkinter python
# Import Module
from tkinter import *
# Create Object
root = Tk()
# specify size of window.
root.geometry("400x500")
# delete content from Text Box
def delete_text():
T.delete("1.0", "end")
# Create text widget
T = Text(root)
T.pack()
# Create Delete Button
Button(root, text="Delete", command=delete_text).pack()
# Execute Tkinter
root.mainloop()
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us