title: On python, how do I determine which button was clicked
body: <p>How would I run an if statement to determine which button was clicked? I've been looking around, but I am new to Tkinter and I'm not too sure what I'm supposed to do.</p>
  
  <pre><code>    self.button1 = Tkinter.Button(self,text=u"Convert Decimal to Binary", command=self.OnButtonClick)
      self.button1.grid(column=1,row=1)
  
      self.button2 = Tkinter.Button(self,text=u"Convert Binary to Decimal", command=self.OnButtonClick)
      self.button2.grid(column=1,row=2)
  </code></pre>