Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)
Set the files that the extractor should extract from the archive in
the order of extraction. Normally one would get the list of all files
in the archive using get_files(), then filter and/or permute this
list before sending it back using set_files().

The second parameter, extracted allows a trick for the subarchive
managing : setting files as extracted, in order to avoid any blocking
wait on files not present in the original archive.

Note: Random access on gzip or bzip2 compressed tar archives is(more...)

src/c/o/Comix-HEAD/src/thumbnail.py   Comix(Download)
        subs = filter(sub_re.search, files)
        if subs:
            subarchive = extractor.set_files([subs[0]])
            extractor.extract()
            condition.acquire()
            return _get_new_archive_thumbnail(subpath, dst_dir)
        return None
    extractor.set_files([wanted])
    extractor.extract()
    image_path = os.path.join(tmpdir, wanted)

src/c/o/Comix-HEAD/src/filehandler.py   Comix(Download)
        sub_files = extractor.get_files()
        alphanumeric_sort(sub_files)
        extractor.set_files(sub_files)
        extractor.extract()
        for name in sub_files: