DEV Community

[Comment from a deleted post]
Collapse
 
hussein_ouda profile image
Hussein Ouda

I found the solution to the problem

says wrong

It expects to get iterable for any indication of a particular purpose,

while it receives a function, so the function must be called by bracketing () for it

self.student_table.delete(*self.student_table.get_children())
                                                          ^^
Enter fullscreen mode Exit fullscreen mode

Thank you to everyone who participated or tried to help