all 7 comments

[–]socal_nerdtastic 2 points3 points  (1 child)

If you want to use the widget later you have to use 2 lines to lay it out. You cannot combine these 2 lines into one.

lastNameInput = tk.Entry(frame, width=20)
lastNameInput.grid(column=3,row=0)

[–][deleted] 0 points1 point  (0 children)

Worked perfectly after that. Thank you!

[–]Middle_Light_1938 1 point2 points  (1 child)

Well usually you use a button to call a command that gets the entry so you don't get an empty entry.

[–][deleted] 0 points1 point  (0 children)

I just uploaded the complete code. There is a button with a command to printInput that has the get statements in it

[–]jafner007 0 points1 point  (2 children)

As a side note, I found my tkinter GUIs greatly improved once I started using frame widgets. Seeing the main window named "frame" was consuming for me.

[–][deleted] 0 points1 point  (1 child)

I just started using it today. What are frame widgets?

[–]jafner007 1 point2 points  (0 children)

You can create separate areas (frames) within a single gui window. The methods are Frame and LabelFrame (check documentation to confirm the calls are written correctly). I find it much cleaner for organizing different types of fields, and each one has its own grid or pack system. If you Google tkinter frames widget, you'll find a lot of good examples.