tkinter 删除Text文本框内的内容

Windows系统、Python3.6版本

import tkinter as tk

......省略

t=tk.Text(window,height=15,width=40)

t.delete('1.0','end')

猜你喜欢

转载自blog.csdn.net/weixin_40450867/article/details/81434720