we'll code near the end of and use again in when developing file transfer and ftp client user interface as we'll seedoing forms well once allows us to skip the details later we'll also use more custom form layout code in the pyedit program' change dialog in and the pymailgui example' email header fields in laying out larger tables with grid so farwe've been building two-column arrays of labels and input fields that' typical of input formsbut the tkinter grid manager is capable of configuring much grander matrixes for instanceexample - builds five-row by four-column array of labelswhere each label simply displays its row and column number (row colwhen runthe window in figure - appears on-screen example - pp \gui\tour\grid\grid py simple tablein default tk root window from tkinter import for in range( )for in range( )lab label(text='% % (ij)relief=ridgelab grid(row=icolumn=jsticky=nsewmainloop(figure - array of coordinate labels if you think this is starting to look like it might be way to program spreadsheetsyou may be on to something example - takes this idea bit further and adds button that prints the table' current input field values to the stdout stream (usuallyto the console window tkinter tourpart