title: Simple Button Hide on Click
body: <p>Hello I'm obviously not too experienced with tkinter very much and I couldnt find anything on what <em>I</em> was looking for, maybe someone could help me</p>
  
  <pre><code>def hide(x):
      x.pack_forget()
  
  d=Button(root, text="Click to hide me!" command=hide(d))
  d.pack()
  </code></pre>
  
  <p>I would like it so that on click the command runs but the button is not defined when calling the command</p>