title: How to give automatically generated buttons names in Tkinter?
body: <p>So i am genertaing a grid of 3x3 buttons for a Tic Tac Toe game im making, and i want to to end up so that when a button is pressed it changes to either a X or O, however i dont know how to give each button a unique identifier so i know which button to change.</p>
  
  <p>Heres the code for the buttons.</p>
  
  <pre><code>num=1
  for row in range(3):
  for column in range(3):
      Button(TTTGrid,bg="#ffffff",  width=20,height = 6, command=lambda row=row, column=column: TTTGridPress(row, column),relief=SUNKEN).grid(row=row, column=column, sticky=W)
      num=num+1
  </code></pre>