How to delete unsaved tkinker label?
问题 I made this program where I am putting labels on a grid without saving them in a variable. I do this because then I can for loop through a list of classes and get the data from each class in and add them to a row. This is a small piece of it: self.collum = 0 for i in self.gui_resource_list: Label(text=i.get_name(), relief="groove", width=15).grid(column=self.column, row=0) Label(text=i.get_buyPrice(), relief="groove", width=15).grid(column=self.column, row=1) Label(text=i.get_salePrice(),