title: python writing to text file options
body: <p>I have a text file with the following lines</p>
  
  <pre><code>test1
  test2
  test3
  </code></pre>
  
  <p>and I want the python script to insert a new line in the top of the file then edit each line after that like the following</p>
  
  <pre><code>Python
  Test : test1 -t
  Test : test2 -t
  Test : test3 -t
  </code></pre>
  
  <p>Any suggestions ?</p>
  
  <p>Thanks</p>