title: How to parse a zcat output
body: <p>What is the easiest way to split a string by <code>\n\n</code> in python?</p>
  
  <p>This is my raw string which comes from zcat output of <a href="http://ftp2.de.debian.org/debian/dists/stable/main/binary-i386/Packages.gz" rel="nofollow">http://ftp2.de.debian.org/debian/dists/stable/main/binary-i386/Packages.gz</a></p>
  
  <pre><code>Package: zziplib-bin\n
  Priority: optional\n
  Section: utils\n
  Installed-Size: 116\n
  Maintainer: LIU Qi &lt;liuqi82@gmail.com&gt;\n
  Architecture: i386\n
  Source: zziplib (0.13.56-1)\n
  Version: 0.13.56-1+b1\n
  ...\n
  \n
  Package: zzuf\n
  Priority: optional\n
  Section: devel\n
  Installed-Size: 228\n
  Maintainer: Sam Hocevar &lt;sho@debian.org&gt;\n
  Architecture: i386\n
  Version: 0.13.svn20100215-2\n
  ...\n
  \n
  </code></pre>
  
  <p>Perhaps any of you have ever done this</p>
  
  <p>This should ideally look like this:</p>
  
  <pre><code>{
  "zziplib-bin": {"Version": "0.13.56-1+b1"},
  "zzuf": {"Version": "0.13.svn20100215-2"},
  ...
  }
  </code></pre>
  
  <p>- Timo</p>