python record separtor file iteration
<p>I have a very very large text file (much larger than can fit in memory).   What I would like to do is use something similar to:</p>

<pre><code>for record in myFile:
 process_record();
</code></pre>

<p>with the added trick that my <strong>records are separated by blank lines</strong> (with all kinds of stuff in between).   For example...</p>

<pre><code>data1 
data2,data3,moredata

anotherrecord,otherstuff
yippee
kaiyay
mom

aThird,record:here
</code></pre>

<p>How would one iterate through the file in python where each loop iteration accesses a single record from the file?</p>
