title: How do I compress base64 data using stringIO into a buffer?
body: <p>Working on this challenge for my Python course and cant seem to figure out how to continue. I think what i have so far is correct but any input would be amazing. </p>
  
  <p>Goal: Decode the base64 blob included below</p>
  
  <pre><code>import base64
  import gzip
  import StringIO
  
  # This is our base64 encoded string
  data = 'H4sIAAAAAAAAAL1X6W+j....'
  
  def main():
      # Decode the base64 string into a variable
      decoded = base64.b64decode(data)
      # Create a variable that holds a stream living in a buffer
  
      # Decompress our stream
  
      # Print it to the screen
  
  if __name__ == '__main__':
      main()
  </code></pre>