On Wednesday, January 3, 2018 at 1:11:31 PM UTC-5, Skip Montanaro wrote:
> The zipfile module is kind of cool because you can access elements of
> the archive without explicitly uncompressing the entire archive and
> writing the structure to disk. I've got some 7z archives I'd like to
> treat the s
> Have you looked at libarchive (https://pypi.python.org/pypi/libarchive)?
Thanks, was completely unaware of its existence. I will take a look.
I've been repackaging the 7z archives as zips, but the result is 3-5x
larger.
Skip
--
https://mail.python.org/mailman/listinfo/python-list
On 2018-01-03 12:10:22 -0600, Skip Montanaro wrote:
> The zipfile module is kind of cool because you can access elements of
> the archive without explicitly uncompressing the entire archive and
> writing the structure to disk. I've got some 7z archives I'd like to
> treat the same way (read specifi
If you're doing this a lot, it might be worth repackaging your 7z files as
> zip files.
Good point. FWIW, these are the files:
http://untroubled.org/spam
Pretty static once a month or year is closed out...
Skip
--
https://mail.python.org/mailman/listinfo/python-list
Skip Montanaro wrote:
I've got some 7z archives I'd like to
treat the same way (read specific elements without first extractingg
the entire tree to disk).
If you're doing this a lot, it might be worth repackaging
your 7z files as zip files.
--
Greg
--
https://mail.python.org/mailman/listinfo/p
The zipfile module is kind of cool because you can access elements of
the archive without explicitly uncompressing the entire archive and
writing the structure to disk. I've got some 7z archives I'd like to
treat the same way (read specific elements without first extractingg
the entire tree to disk