How to decompress .Z file?

H

Hyunchul Kim

Hi, all

How can .Z file be decompressed?

According to python library reference, .Z file might not be supported by
python, yet.

Best,
Hyunchul Kim
 
N

Nick Craig-Wood

Hyunchul Kim said:
How can .Z file be decompressed?

The old unix program compress used to generate these files.

http://packages.debian.org/unstable/utils/ncompress

You'll find the command line programs gzip/gunzip/zcat can decompress
them too.
According to python library reference, .Z file might not be
supported by python, yet.

Unfortunately the python gzip library doesn't read .Z files.

I'd pipe the data to zcat using subprocess to decompress from python.

I haven't used a .Z files for many many years - where are you getting
them from?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top