Found this somewhere and edited it to make it work a little better.
change the range to increase the amount of cells you want to see. above is my grid settings to test.
you should see the borders of all the cells clearly along with the cel coordinates in the cel
wd.columnconfigure((0,1,2,4,5,6,7,8,9,10),weight = 1, uniform = "a")
wd.columnconfigure(3,weight = 10, uniform = "a")
wd.rowconfigure((0,1,2,3,4,5,6,7,8,9,10),weight = 1, uniform = "a")
for x in range(10):
for y in range(10):
frame = tk.Frame(
master=window,
relief=tk.RAISED,
borderwidth=1
)
frame.grid(row=x, column=y, sticky="nesw") # line 13
label = tk.Label(master=frame, text=f"\n\nrow {x}\t\t column {y}\n\n")
label.pack()