I need to know how it is possible to display only the last line of stdout/stderr output to my Tkinter status bar. In the Python FAQ I saw a way to catch stdout/stderr output, but this method concatenates all of the output. I just need the last line. I hope this is clear, and that someone can help! Thanks in advance