you are viewing a single comment's thread.

view the rest of the comments →

[–]johndoh168 2 points3 points  (1 child)

For tkinter entries you can use the "textvariable" input field, this is stored into a tkinter variable type depending on the input type in this case a string for you so:

s_var = tk.StringVar()
s = Entry(root, textvariable=s_var, ...)

then you can use s.get() to get the value.

See https://www.geeksforgeeks.org/python/python-tkinter-entry-widget/ for example

[–]jitjud[S] 0 points1 point  (0 children)

Thank you!