Python: Read large file in chunks
<p>Hey there, I have a rather large file that I want to process using Python and I'm kind of stuck as to how to do it.  </p>

<p>The format of my file is like this:</p>

<p>0 xxx xxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br>
1 xxx xxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</p>

<p>So I basically want to read in the chunk up from 0-1, do my processing on it, then move on to the chunk between 1 and 2.</p>

<p>So far I've tried using a regex to match the number and then keep iterating, but I'm sure there has to be a better way of going about this.  Any suggestion/info would be greatly appreciated.</p>
