I need to delete a widget, example:
button1 = Button(root, text="start", command=self.cc).pack()
How do I make another widget which has the command to delete button1? or even just a function which when called, deletes button1.
I couldnt find the answer any where :/
there is another similar question (How to delete Tkinter widgets from a window?) BUT its 8 years old so the solutions may be outdated