Feb-01-2022, 04:50 PM
You can use winfo_children() if you want to clear all the list boxes. This does entry widgets too.
for child in frame.winfo_children(): if isinstance(child, (tk.Entry, tk.Listbox): child.delete(0, tk.END)