If I have the contents of a zipfile in a Python string, can I decompress it without writing it to a file?
<p>I've written some Python code that fetches a zip file from the web and into a string:</p>

<pre><code>In [1]: zip_contents[0:5]
Out[1]: 'PK\x03\x04\x14'
</code></pre>

<p>I see there's a zipfile library, but I'm having trouble finding a function in it that I can just pass a bunch of raw zip data. It seems to want to read it from a file.</p>

<p>Do I really need to dump this to a temp file, or is there a way around it?</p>
