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

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Close the file, and for mode "w" and "a" write the ending
records.

src/d/e/devpi-common-1.2/devpi_common/archive.py   devpi-common(Download)
        _writezip(zip, basedir)
    finally:
        zip.close()
    if dest is None:
        return f.getvalue()
def zip_dict(contentdict):
    f = py.io.BytesIO()
    zip = py.std.zipfile.ZipFile(f, "w")
    _writezip_fromdict(zip, contentdict)
    zip.close()