tkinter clear all widgets code example Example: how to destroy all widgets in a frame for widget in frame.winfo_children(): widget.destroy()