title: Python 2.5.2: remove what found between two lines that contain two concrete strings
body: <p>is there any way to remove what found between two lines that contain two concrete strings?</p>
  
  <p>I mean: I want to remove anything found between 'heaven' and 'hell' in a text file with this text:</p>
  
  <pre><code>I'm in heaven
  foobar
  I'm in hell
  </code></pre>
  
  <p>After executing the script/function I'm asking the text file will be empty.</p>