Re: How to decompress .Z file?

Discussion in 'Python' started by Thomas Jollans, Aug 20, 2007.

  1. 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

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQBGyateJpinDvQhQ0sRAj2zAJ4gFPW+ZGtC5w11shZmnChIFnRohQCbBdmY
    J+3u16m2PGHv+HEVYCWlJGg=
    =m+/b
    -----END PGP SIGNATURE-----
    Thomas Jollans, Aug 20, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. umberto
    Replies:
    4
    Views:
    568
    umberto
    Oct 24, 2003
  2. Hyunchul Kim

    How to decompress .Z file?

    Hyunchul Kim, Aug 20, 2007, in forum: Python
    Replies:
    2
    Views:
    657
    Nick Craig-Wood
    Aug 20, 2007
  3. DavidC

    Decompress gz file

    DavidC, May 3, 2010, in forum: ASP .Net
    Replies:
    0
    Views:
    1,080
    DavidC
    May 3, 2010
  4. Vincent Davis

    bz2.decompress as file handle

    Vincent Davis, May 19, 2014, in forum: Python
    Replies:
    0
    Views:
    56
    Vincent Davis
    May 19, 2014
  5. Tim Chase

    Re: bz2.decompress as file handle

    Tim Chase, May 19, 2014, in forum: Python
    Replies:
    0
    Views:
    56
    Tim Chase
    May 19, 2014
Loading...

Share This Page