Skip to content Skip to sidebar Skip to footer

Zip File With Ppmd Compression, Programmatically Unzip

I have a Linux Python script that needs to unzip some zip files. I was using the zipfile module. On a few of these files I'm getting: BadZipfile: Unsupported compression method 9

Solution 1:

You can find https://pypi.org/project/zipfile39/ that support zip with PPMd

Solution 2:

Have you taken a look at the p7zip (binary)?

It seems to support the PPMD compression format.

Some PPMd switches: -mmem=24b, -mmem=24k, -mmem=24m, -mo=2, and -mo=32

Solution 3:

7-zip supports zip/ppmd from 9.11 beta (2010-03-15) according to https://www.7-zip.org/history.txt .

Oh, you are mentioning Python. Yes zipfile39 module should be helpful as @hiroshi miura says. You can also use https://pypi.org/project/zipfile-ppmd/.

Post a Comment for "Zip File With Ppmd Compression, Programmatically Unzip"