title: gzip a file in Python
body: <p>I want to gzip a file in Python. I am trying to use the subprocss.check_call(), but it keeps failing with the error 'OSError: [Errno 2] No such file or directory'. Is there a problem with what I am trying here? Is there a better way to gzip a file than using subprocess.check_call?</p>
  
  <pre><code>from subprocess import check_call
  
  def gZipFile(fullFilePath)
      check_call('gzip ' + fullFilePath)
  </code></pre>
  
  <p>Thanks!!</p>