Answer the question
In order to leave comments, you need to log in
Why does entry in tkiner show numbers instead of strings?
I wrote:
def callback():
print e1
print e2
print e3
master = Tk()
Label(master, text="vk login").grid(row=0)
Label(master, text="vk password").grid(row=1)
Label(master, text="vk message").grid(row=2)
e1 = Entry(master)
e2 = Entry(master)
e3 = Entry(master)
e1.grid(row=0, column=1)
e2.grid(row=1, column=1)
e3.grid(row=2, column=1)
b = Button(master, text="OK", command=callback)
b.grid(row=3, column=1)
mainloop()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question