Answers for "how to enter text in tkinter"

2

print textbox value in tkinter

result=textExample.get("1.0","end")
print(result)
Posted by: Guest on October-30-2020
1

write in entry() in tkinter

v = StringVar()
e = Entry(master, textvariable=v)
e.pack()

v.set("a default value")
s = v.get()
Posted by: Guest on October-09-2020

Browse Popular Code Answers by Language