Reputation: 1316
How do I open a 7zip file in Python using plzma? I'd like to write a process to take a directory full of 7zip files, pull all the file names, open one file into memory (at a time), store the archive (name.7zip) name, and take the compressed file into memory to be processed.
Thank you!
Upvotes: 0
Views: 599
Reputation: 95048
https://pypi.python.org/pypi/libarchive It's a python wrapper for libarchive library so you must have the library installed. Another possible wrapper is https://pypi.python.org/pypi/libarchive-c
Upvotes: 1