From: tratt at dcs.kcl.ac.uk (Laurence Tratt)
Date: Tue, 20 Apr 1999 09:54:49 +0100
Subject: bzip2 module for Python
Message-ID: <d3bea2f548.tratt@tratt.freeserve.co.uk>
X-UID: 199                                                  

In message <87zp43gaac.fsf at illusion.tui-net>
          Paul Kunysch <illume at gmx.net> wrote:

[me 'announcing' pyBZlib]
>> As I said, I am interested to know if there is a demand for this, so
>> comments are appreciated.
> IMHO it would be nice to have a module like the current "gzip", which
> handles .bz2 .gz .Z and uncompressed files transparently.

pyBZlib handles .bz2 files 'transparently' as such, in that the inputs and
outputs to the bzip2 library are simply standard .bz2 files. The two simple
test files included with pyBZlib demonstrate this by slurping .bz2 files
straight into the libraries methods :)

Do you mean you would like to see a module where you give it a file (which
could be .bz2, .gz, .zip etc), and then get an uncompressed version back
without worrying what compression type was used? Would you also want it to
automatically untar files?


Laurie




