How to make button disappear in Python Tkinter

Solution 1:

You aren't using grid, so calling grid_forget() will have no effect. Each of the geometry managers have their own variations, and you must use the one related to the geometry manager you're using:

  • grid_forget
  • grid_remove
  • pack_forget
  • place_forget