title: Read from a gzip file in python
body: <p>I've just make excises of gzip on python. </p>
  
  <pre><code>import gzip
  f=gzip.open('Onlyfinnaly.log.gz','rb')
  file_content=f.read()
  print file_content
  </code></pre>
  
  <p>And I get no output on the screen. As a beginner of python, I'm wondering what should I do if I want to read the content of the file in the gzip file. Thank you.</p>