title: Copy the command of a button in tkinter onto another button
body: <p>Given a tkinter button with a command, I would like to copy its function call to replicate it when another button is pushed. I've tried with something like this:</p>
  <pre><code>import tkinter as tk
  
  root = tk.Tk()
  
  btn1 = tk.Button(root, text='Button 1', command=lambda: print('Button hit'))
  btn2 = tk.Button(root, text='Button 2', command=None)
  
  # Here the magic should occur
  btn2.configure(command=btn1.configure()['command'])
  
  btn1.grid(row=0, column=0)
  btn2.grid(row=1, column=0)
  
  root.mainloop()
  </code></pre>
  <p>But unfortunately button 2 does not call the function.</p>
  <p>Here you see an simplified version of the problem. Actually the two buttons are in two very different parts of the script, so it is very inconvenient to move a function along.</p>