Getting Value From Tkinter Text Object
fredrik at pythonware.com
Thu Feb 15 08:49:31 CET 2001
Scott Billings wrote:
> 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.
=> concepts, patterns
"END (or "end") corresponds to the position just after the last
character in the buffer.
"To fetch the text contents of the widget, use the get method:
contents = text.get(1.0, END)
More information about the Python-list