I’d like to write a Python or Java app to iterate over all of the many small files in a 7-zip (.7z) archive. Is there a convenient way to do this in a streaming and efficient fashion, i.e. without repeatedly running 7z to extract individual files?
I’d like to write a Python or Java app to iterate over all of
Share
Have you considered a 3rd-party library like pylzma? It includes a module for reading from and writing to 7-zip archives.