Lines Matching refs:ZipFile
41 "is_zipfile", "ZipInfo", "ZipFile", "PyZipFile", "LargeZipFile",
414 # Other attributes are set by class ZipFile:
811 Is returned by ZipFile.open().
1222 class ZipFile:
1225 z = ZipFile(file, mode="r", compression=ZIP_STORED, allowZip64=True,
1229 If it is a path, the file will be opened and closed by ZipFile.
1234 allowZip64: if True ZipFile will create files with ZIP64 extensions when
1253 raise ValueError("ZipFile requires mode 'r', 'w', 'x', or 'a'")
2012 class PyZipFile(ZipFile):
2017 ZipFile.__init__(self, file, mode=mode, compression=compression,
2241 ZipFile mix-in to ensure names are sanitized.
2297 class CompleteDirs(SanitizedNames, ZipFile):
2299 A ZipFile subclass that ensures that implied directories
2346 if not isinstance(source, ZipFile):
2359 ZipFile subclass to ensure implicit
2395 >>> zf = ZipFile(data, 'w')
2463 Construct a Path from a ZipFile or filename.
2465 Note: When the source is an existing ZipFile object,
2469 separate ZipFile object or pass a filename.
2590 with ZipFile(src, 'r', metadata_encoding=encoding) as zf:
2598 with ZipFile(src, 'r', metadata_encoding=encoding) as zf:
2603 with ZipFile(src, 'r', metadata_encoding=encoding) as zf:
2626 with ZipFile(zip_name, 'w') as zf: