I often have to search for multiple .7z files (zipped with LZMA). I do not have enough memory to unpack them at the same time or to change the archive to .gz. At the moment, I am unpacking one, looking for what I need, deleting the extracted, unpacking the next one. I want to browse archives in the same way as with gzip:
f = gzip.open('archive.gz') for i in f: do stuff
Is there a module / way to do this with .7z files?
python windows archive 7zip
Niek de klein
source share