import tkinter as tk root = tk.Tk() btn1 = tk.Button(root,text = "Hello") #To place button btn1.place(20,20) #to hide button btn1.place_forget() root.mainloop()
# Hide mybtn.place_forget() # Show mybtn.place(100,100)