On Wed, Jul 13, 2011 at 1:31 PM, Benji Benjokal <benjo...@gmail.com> wrote:

> What is the simplist way to get the value you entered from the Entry widget
> in  Tkinter?
>

 Have you tried the get method of Entry widget ?

Here is a crude example

from Tkinter import*
r = Tk()
e = Entry(r)
e.pack()
def printData():
     print e.get()
b = Button(r,text='getdata',command=printData)
b.pack()
r.mainloop()






-- 
Thanks & Regards,
Godson Gera
Python Consultant India <http://godson.in/>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to