title: How do I keybind functions to keys in the keyboard with tkinter
body: <p>I want to make a function that is triggered by pressing a button with the 
  command (<code>b = Button(command = a)</code>) that will also be able to accept calls from the bind command. The problem is that the bind command sends a variable (event) while command does not. another problem that I have is that I can't figure out how to link functions to physical key pressing on the computer</p>
  
  <p>I have tried <code>b.bind('a',func)</code> to link the physical keys and checked the binding with the enter key</p>
  
  <pre><code>from tkinter import *
  def func():
      print("meow")
  
  main = Tk()
  bRoll = Button(text = "Hello", command = func)
  bRoll.bind('r',func)
  bRoll.bind('&lt;Enter&gt;',func)
  bRoll.pack()
  main.mainloop()
  </code></pre>
  
  <p>That did not seem to work as it did nothing and I tried to bind to the <kbd>Enter</kbd> key (<code>&lt;Enter&gt;</code>) to see what happens and it printed an error because it wanted to send an event to <code>func</code> and it couldn't accept it.</p>