title: Parsing a simple text file using Python
body: <p>I'm an moderator of a forum and I need to prune all the bots that register on there.<br>
  As you can see below, I can list all the users by:</p>
  
  <pre><code>Username number_of_mssages register_date
  </code></pre>
  
  <p>Example:</p>
  
  <pre><code>- Thurman Valsin0190    0       Sat Jan 14, 2012 5:00 pm
  - Rubye Tones01AD   0       Sat Jan 14, 2012 4:59 pm
  </code></pre>
  
  <p>I need a super simple Python little program that parses me each line of a text file, so I can get, from the string above, only the nick names.</p>
  
  <pre><code>- Thurman Valsin0190
  - Rubye Tones01AD
  </code></pre>
  
  <p><strong>This means that the program has to delete for each line the 0 and everything that is behind him. The text is taken from a .txt file</strong>.<br>
  I know this is not that difficult but I'm not a lot into Python.
  Thanks in advance!</p>