At the press of the button it’s supposed to add a new text entry widget in the same rows but it doesn’t work for some reason. What could be the issue ? Here is the code. /u/Billthepony123 Python Education

https://preview.redd.it/ts6avhrpi1ee1.png?width=1919&format=png&auto=webp&s=22b25b47702c3ea22b5246a512ea46cae70f9c20

def addincplacerow(): new_label = Entry(root, width = 5, font=("Arial",24), justify = "center", bg = "grey") last_col = root.grid_size()[1] new_label.grid(row=4, column=last_col) Incplacebutton = Button(root, text = "Add Letter", command = addincplacerow) Incplacebutton.place(x = 0, y = 150) 

submitted by /u/Billthepony123
[link] [comments]

​r/learnpython https://preview.redd.it/ts6avhrpi1ee1.png?width=1919&format=png&auto=webp&s=22b25b47702c3ea22b5246a512ea46cae70f9c20 def addincplacerow(): new_label = Entry(root, width = 5, font=(“Arial”,24), justify = “center”, bg = “grey”) last_col = root.grid_size()[1] new_label.grid(row=4, column=last_col) Incplacebutton = Button(root, text = “Add Letter”, command = addincplacerow) Incplacebutton.place(x = 0, y = 150) submitted by /u/Billthepony123 [link] [comments] 

https://preview.redd.it/ts6avhrpi1ee1.png?width=1919&format=png&auto=webp&s=22b25b47702c3ea22b5246a512ea46cae70f9c20

def addincplacerow(): new_label = Entry(root, width = 5, font=("Arial",24), justify = "center", bg = "grey") last_col = root.grid_size()[1] new_label.grid(row=4, column=last_col) Incplacebutton = Button(root, text = "Add Letter", command = addincplacerow) Incplacebutton.place(x = 0, y = 150) 

submitted by /u/Billthepony123
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *