Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Data Science by (18.4k points)
I need to find a way to clear the Listbox for the refresh function which I am making. The function should delete everything in a Listbox then redo it(but I just need the code for clearing the Listbox)

1 Answer

0 votes
by (36.8k points)
edited by

You can use this:

listbox.delete(0, tkinter.END)

Learn Data Science with Python Course to improve your technical knowledge. 

Related questions

Browse Categories

...