How to decompress .Z file?

Thomas Jollans thomas at jollans.com
Mon Aug 20 10:55:22 EDT 2007


On Monday 20 August 2007, Hyunchul Kim wrote:
> Hi, all
>
> How can .Z file be decompressed?
>
> According to python library reference, .Z file might not be supported by
> python, yet.

The GNU zip program (gzip) supports .Z and .z archives, so if you only want to 
support UNIX-like systems you could simply look for a program named "gunzip" 
or "uncompress" and use that.

See also: http://mail.python.org/pipermail/python-list/2004-May/261669.html

The format is now so antiquated (replaced almost totally with zlib/gzip 
compression) that I doubt you'll see it in python, but 
http://en.wikipedia.org/wiki/LZW seams to sport a python implementation.

-- 
      Regards,                       Thomas Jollans
GPG key: 0xF421434B may be found on various keyservers, eg pgp.mit.edu
Hacker key <http://hackerkey.com/>:
v4sw6+8Yhw4/5ln3pr5Ock2ma2u7Lw2Nl7Di2e2t3/4TMb6HOPTen5/6g5OPa1XsMr9p-7/-6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.python.org/pipermail/python-list/attachments/20070820/ac1d271d/attachment.sig>


More information about the Python-list mailing list