title: Extracting zip files from a large binary file
body: <p>I am dealing with a somewhat large binary file (717M). This binary file contains a set (unknown number!) of complete zip files.</p>
  
  <p>I would like to extract all of those zip files (no need to explitly decompress them). I am able to find the offset (start point) of each chunks thanks to the magic number ('PK') but I fail to find a way to compute the length for each chunk (eg. to carve those zip file out of the large binary file).</p>
  
  <p>Reading some documentation (<a href="http://forensicswiki.org/wiki/ZIP" rel="nofollow noreferrer">http://forensicswiki.org/wiki/ZIP</a>), gives me the impression it is easy to parse a zip file since it contains the <code>compressed size</code> of each compressed file.</p>
  
  <p>Is there a way for me to do that in C or Python without reinventing the wheel ?</p>