7z archive reader akin to zipfile?

Skip Montanaro skip.montanaro at gmail.com
Wed Jan 3 13:10:22 EST 2018


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). I see the pylzma module for compressing and
uncompressing files, but nothing slightly higher level. Does something
like that exist?

Thx,

Skip



More information about the Python-list mailing list