Windows系统、Python3.6版本
import tkinter as tk
......省略
t=tk.Text(window,height=15,width=40)
t.delete('1.0','end')