Answers for "tk table python"

2

tk table python

try:
    from tkinter import * 
except ImportError:
    from Tkinter import *

root = Tk()

height = 5
width = 5
for i in range(height): #Rows
    for j in range(width): #Columns
        b = Entry(root, text="")
        b.grid(row=i, column=j)

mainloop()
Posted by: Guest on October-31-2020

Python Answers by Framework

Browse Popular Code Answers by Language