title: appending a data in a specific line of a text file in Python?
body: <p>Let's say I have this textfile: date.txt. month|day|year</p>
  
  <pre><code>January|20|2014
  February|10|
  March|5|2013
  </code></pre>
  
  <p>I want to put 2012 after February|10|. how can i do that?</p>