title: How can I decode compressed zlib data in python?
body: <p>I have some data that I need to decode using zlib. After a bunch of google searching, I think python could do the trick.</p>
  <p>I am a bit lost on how to make this happen; can anyone set me up on the path?</p>
  <p>The data is just encoded text; I know that I need to import <code>zlib</code> in a python file, and decode using it, but I am lost where to start.</p>
  <p>I have started with this:</p>
  <pre class="lang-py prettyprint-override"><code>import zlib
  
  f = &quot;012301482103&quot;
  data = f
  zlib.decompress((data))
  print data
  </code></pre>