clear in tkinter code example Example 1: tkinter clear entry widget.delete(0, END) Example 2: python tkinter clear tk tk = Tk() tk.destroy()