title: finding a pattern in text file in python
body: <p>i have a <em>text file</em>, say</p>
  
  <pre><code>1: 0,0,0,122
  2: 2,0,3,333
  3: 0,0,0,23
  </code></pre>
  
  <p>and so on.
  i need to find "0,0,0" pattern in the text file
   and print all lines except the one containing the given pattern.
   please can anyone tell me the <strong>code</strong> for this in <strong>python</strong>.</p>