How to clear/delete the contents of a Tkinter Text widget?

后端 未结 7 1317
谎友^
谎友^ 2020-12-09 01:05

I am writing a Python program in TKinter on Ubuntu to import and print the name of files from particular folder in Text widget. It is just adding f

相关标签:
7条回答
  • 2020-12-09 01:53

    this works

    import tkinter as tk
    inputEdit.delete("1.0",tk.END)
    
    0 讨论(0)
提交回复
热议问题