# simple 2d tablefrom Tkinter import *for i in range(5): for j in range(4): l = Label(text='%d.%d' % (i, j), relief=RIDGE) l.grid(row=i, column=j, sticky=NSEW)mainloop()