简体   繁体   中英

Stream through files in 7-zip archive

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, ie without repeatedly running 7z to extract individual files?

Have you considered a 3rd-party library like pylzma ? It includes a module for reading from and writing to 7-zip archives.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM