What I'm looking for is how to create a grid of buttons automatically with an iteration.
For example I have this array
Array =
[[0,0,0,0,0,0,0],
[0,0,0,0,0,0,0],
[0,0,0,0,0,0,0],
[0,0,0,0,0,0,0],
[0,0,0,0,0,0,0],
[0,0,0,0,0,0,0]]
And I look something like
from tkinter import *
window = Tk ()
def create_buttons ():
global Array
for rows in Array:
for numbers in rows:
button = Button (text = 'Hello')
button.pack ()
window.mainloop ()
Any help will be appreciated
