title: How to get the contents of last line in tkinter text widget (Python 3)
body: <p>I am working on a virtual console, which would use the systems builtin commands and then do the action and display output results on next line in console. This is all working, but how do I get the contents of the last line, and <i>only</i> the last line in the tkinter text widget? Thanks in advance. I am working in python 3.
  I have treed using <code>text.get(text.linestart, text.lineend)</code> To no avail. Have these been deprecated? It spits out an error saying that <code>AttributeError: 'Text' object has no attribute 'linestart'</code></p>