bz2 support in Python?
moshez at math.huji.ac.il
Tue May 23 00:57:09 EDT 2000
On Mon, 22 May 2000, Xavier Outhier wrote:
> Is there in Python any bz2 tool? bz2 is the 2nd version
> of bzip. A compression algo.
> I have search in FAQ, DejaNews and I have found nothing.
I believe there is, but I was always for the much simpler:
os.popen("bzip2 ...."), or os.popen2 if you don't need a file at either
end. Of course, you should abstract it away with a class if it's large
enough. Then, you'd be able to change bzip2 to bzip3 (when it comes out),
without waiting for a Python interface.
all-this-doesn't-apply-on-win32-ly y'rs, Z.
Moshe Zadka <moshez at math.huji.ac.il>
http://www.linux.org.il -- we put the penguin in .com
More information about the Python-list