You can use winfo_children
to get a list of all children of a particular widget, which you can then iterate over:
for child in infoFrame.winfo_children():
child.destroy()
You can use winfo_children
to get a list of all children of a particular widget, which you can then iterate over:
for child in infoFrame.winfo_children():
child.destroy()