def read_compressed(path):
 with gzip.open(path, 'rb') as f:
  return f.read()

def read_compressed ( path ) : with gzip . open ( path , 'rb' ) as f : return f . read ( )
write a compressed file from path .