title: extracting comma separated values from lines in logfile - python
body: <p>I have a log file and need to split out the values separated by commas into separate arrays of values for graphing later. The log file is written to once a second</p>
  
  <p>Data is formatted as follows:</p>
  
  <pre><code>Time, Bx, By, Bz, Status
  2147483894.995726, 3424, 3424, 3424, 128
  2147483895.9957414, 3552, 3552, 3552, 128
  2147483896.995726, 3680, 3680, 3680, 128
  2147483897.995711, 3808, 3808, 3808, 128
  2147483898.9956956, 3936, 3936, 3936, 128
  2147483899.9956803, 4064, 4064, 4064, 128
  </code></pre>
  
  <p>What's the best way of doing this? Regular expressions? I have tried using line.rsplit but can only extract the last column.</p>
  
  <p>Any help appreciated! Thanks</p>