Gzip module does not support Unix compressed .Z files [SEC=UNOFFICIAL]

Owen Brandon Brandon.Owen at ga.gov.au
Mon Jul 4 00:16:12 EDT 2016


Hello,

I have a query regarding the support of decompression for Unix compressed .Z files in Python's gzip module. The gzip system utility supports this using the '-d' switch, but the python module does not.

Obviously this isn't an actual bug, as the Python module is an implementation of the zlib library (which does not actually specify .Z file decompression). But I'd rather not have to shell out to decompress files if possible - as there currently don't seem to be any core python modules which can decompress .Z files.

What are the chances of this functionality being included in a core module at some point?

Sorry if this is not the correct forum for questions like this - any help would be appreciated.

Kind Regards

Brandon Owen
GNSS Network Operator  |  Geodesy and Seismic Monitoring Group
Community Safety and Earth Monitoring Division  |  GEOSCIENCE AUSTRALIA
____________________________________________________________
Phone:  +61 2 6249 9192    Fax:  +61 2 6249 9999
Email:  Brandon.Owen at ga.gov.au<mailto:Brandon.Owen at ga.gov.au>    Web:  www.ga.gov.au<http://www.ga.gov.au/>
Cnr Jerrabomberra Avenue and Hindmarsh Drive Symonston ACT
GPO Box 378 Canberra ACT 2601 Australia
Applying geoscience to Australia's most important challenges


Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is intended only for the person or entity to which it is addressed. If you are not the intended recipient, then you have received this e-mail by mistake and any use, dissemination, forwarding, printing or copying of this e-mail and its file attachments is prohibited. The security of emails transmitted cannot be guaranteed; by forwarding or replying to this email, you acknowledge and accept these risks.
-------------------------------------------------------------------------------------------------------------------------




More information about the Python-list mailing list