Python package to read .7z archives?
Hallvard B Furuseth
h.b.furuseth at usit.uio.no
Wed Aug 4 08:11:38 EDT 2010
More information about the Python-list mailing list
Wed Aug 4 08:11:38 EDT 2010
- Previous message (by thread): Python package to read .7z archives?
- Next message (by thread): parsing a c project
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Giampaolo RodolĂ <g.rodola at gmail.com> writes: > 2010/8/4 Hallvard B Furuseth <h.b.furuseth at usit.uio.no>: >> Is there an equivalent of zipfile.py for .7z archives? >> I have one which extracts an archive member by running 7z e -so, >> but that's a *slow* way to read one file at a time. >> >> Google found me some python interfaces to lzma, but apparently they >> only handle single compressed files, not .7z archives. >> >> (Actually another archive format would be fine if it is competitive. >> I'm just looking to compress my .zips better. I need a Python module >> to extract members reasonably fast, but slow compression would be OK.) > > http://bugs.python.org/issue5689 [For lzma/xz compressed tar archives] Thanks, but extraction of individual members from .tar.xz looks inherently slow. To locate the member, you need to decompress the entire portion of the archive preceding the member. -- Hallvard
- Previous message (by thread): Python package to read .7z archives?
- Next message (by thread): parsing a c project
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list