How do you get the value you entered using the Entry widget in Tkinter?
godson.g at gmail.com
Wed Jul 13 12:07:15 EDT 2011
On Wed, Jul 13, 2011 at 1:31 PM, Benji Benjokal <benjokal at 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)
b = Button(r,text='getdata',command=printData)
Thanks & Regards,
Python Consultant India <http://godson.in/>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list