How do you get the value you entered using the Entry widget in Tkinter?

Vlastimil Brom vlastimil.brom at gmail.com
Wed Jul 13 18:17:58 CEST 2011


2011/7/13 Benji Benjokal <benjokal at gmail.com>:
> What is the simplist way to get the value you entered from the Entry widget
> in  Tkinter?
> Thanks Benji

> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
Hi,
you can use the get() method of that widget;
see e.g.
http://effbot.org/tkinterbook/entry.htm
for a sample code.
  hth,
   vbr



More information about the Python-list mailing list