9x9 grid tkinter

Solutions on MaxInterview for 9x9 grid tkinter by the best coders in the world

showing results for - "9x9 grid tkinter"
Kenzo
05 Aug 2016
1from tkinter import *
2
3center=Th()
4center.geometry('455x455')
5center.title("9x9 grid")
6
7cells = {}
8for row in range(9):
9    for column in range(9):
10        cell = Frame(center, bg='white', highlightbackground="black",
11                     highlightcolor="black", highlightthickness=1,
12                     width=50, height=50,  padx=3,  pady=3)
13        cell.grid(row=row, column=column)
14        cells[(row, column)] = cell
15
16center.mainloop()
similar questions
queries leading to this page
9x9 grid tkinter