You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.1 KiB

From: tratt at (Laurence Tratt)
Date: Tue, 20 Apr 1999 09:54:49 +0100
Subject: bzip2 module for Python
Message-ID: <>
X-UID: 199
In message <87zp43gaac.fsf at>
Paul Kunysch <illume at> 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?