How to make a python instanced object reusable?
<p>a couple of my python programs aim to</p>

<ol>
<li><p>format into a hash table (hence, I'm a dict() addict ;-) ) some informations in a "source" text file, and</p></li>
<li><p>to use that table to modify a "target" file. My concern is that the "source" files I usually process can be very large (several GB) so it makes more than 10sec to parse, and I need to run that program a bunch of times. To conclude, I feel like it's a waste to reload the same large file each time I need to modify a new "target".</p></li>
</ol>

<p>My thought is, if it would be possible to write once the dict() made from the "source" file in a way that python would be able to read/process much faster (I think about a format close to the one used in RAM by python), it would be great.</p>

<p>Is there a possibility to achieve that?</p>

<p>Thank you.</p>
