def unpack_zipfile(filename):
with open(filename, "<STR_LIT:rb>") as fzip:<EOL><INDENT>z = zipfile.ZipFile(fzip)<EOL>for name in z.namelist():<EOL><INDENT>print(("<STR_LIT>".format(name)))<EOL>ensure_dirs(name)<EOL>z.extract(name)<EOL><DEDENT><DEDENT>
Unpack a zipfile, using the names in the zip.