On this page
zipfile.LargeZipFile
Prev: zipfile.is_zipfile | Up: zipfile | Next: zipfile.Path
Rel: zipfile.BadZipFile, zipfile.BadZipfile, zipfile.error, zipfile.is_zipfile
Ref: docs.python.org โ zipfile.LargeZipFile
Tags: #public #python3 #stdlib #zipfile
Import
import zipfile
from zipfile import LargeZipFile
Signature & Overview
zipfile.LargeZipFile(...)
Raised when writing a zipfile, the zipfile requires ZIP64 extensions and those extensions are disabled.
Methods & Attributes
LargeZipFile.add_note(self, note, /)โ Add a note to the exceptionLargeZipFile.with_traceback(self, tb, /)โ Set self.traceback to tb and return self.
Usage
import zipfile
assert issubclass(zipfile.LargeZipFile, Exception)
Gotchas
- Raised when an archive exceeds 4 GiB with
allowZip64=False:allowZip64=Trueis the default in Python 3.4+, so you rarely hit this unless disabled explicitly.
REPL Inspect
from zipfile import LargeZipFile
help(LargeZipFile)
Linked from
Related notes
- tuts/python3/stdlib_module/zipfile/BadZipFile Linked here; links to this page; shared tags: #stdlib, #zipfile
- tuts/python3/stdlib_module/zipfile/BadZipfile_class Linked here; links to this page; shared tags: #stdlib, #zipfile
- tuts/python3/stdlib_module/zipfile/error Linked here; links to this page; shared tags: #stdlib, #zipfile
- tuts/python3/stdlib_module/zipfile/is_zipfile Linked here; links to this page; shared tags: #stdlib, #zipfile
- tuts/python3/stdlib_module/zipfile/Path Linked here; links to this page; shared tags: #stdlib, #zipfile
- tuts/python3/stdlib_module/zipfile/ZipFile Linked here; shared tags: #stdlib, #zipfile
- tuts/python3/stdlib_module/zipfile links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/zipfile/PyZipFile shared tags: #stdlib, #zipfile
- tuts/python3/stdlib_module/zipfile/ZipInfo shared tags: #stdlib, #zipfile
- tuts/c/stdlib shared tags: #stdlib