Getting Value From Tkinter Text Object

David Fuess fuess at
Thu Feb 15 04:25:21 CET 2001

On Wed, 14 Feb 2001 19:06:13 -0600, Scott Billings
<billings at> wrote:

>I have an app, in which I need to get the entire contents of a Tkinter Text 
>object. It will be of an arbitrary length.
>The only option I can find that even seems to be close to what I want, is 
>the get() method, which expects a starting and ending point. Starting point 
>should be easy enough, but I have no way of knowing what the ending point 
>will be.

So use END. i.e. control.get(0,END)

>Is there some other method for Text objects that I can use, that has a 
>similar function to the Entry object's get() method?

More information about the Python-list mailing list