inserting text with python
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3250393/how-do-i-modify-program-files-in-python">How do I modify program files in Python?</a>  </p>
</blockquote>



<p>I need to insert some text at the beginnnig and the end of each line of a text file. how can I use python to do this?</p>
