I have created a grid of buttons using the code below:
for x in range(10): for y in range(10): btn = Button(frame, command=button_click(x, y))