title: Tkinter Text Widget, iterating over lines
body: <p>If I have a tkinter Text widget filled with the following:</p>
  
  <pre><code>/path/to/file/1.txt
  /path/to/file/2.txt
  /path/to/file/3.txt
  </code></pre>
  
  <p>Is there a direct way to iterate over all lines (for instance, to open a file, perform an action, and write)?</p>