def _decompress(source, target, delete_after_decompression=True):
 f_in = gzip.open(source, u'rb')
 f_out = open(target, u'wb')
 f_out.writelines(f_in)
 f_out.close()
 f_in.close()
 if delete_after_decompression:
  os.remove(source)

def _decompress ( source , target , delete_after_decompression = True ) : f_in = gzip . open ( source , u'rb' ) f_out = open ( target , u'wb' ) f_out . writelines ( f_in ) f_out . close ( ) f_in . close ( ) if delete_after_decompression : os . remove ( source )
decompress a gzip file .