An interface to the OOXML Document as a Zip file, and a lightweight wrapper around Zipfile.
An interface to the OOXML Document as a Zip file, and a lightweight wrapper around the ZipFile module.
Variables: |
|
---|
Initialize zip attributes.
Parameters: | filepath (string) – the path to the OOXML Document |
---|
Get list of files in Zip archive.
Returns: | list of names of files in the Zip archive |
---|
Extract part from the Zip archive.
Parameters: | partname (string) – name of the Part (member of the Zip archive) to extract |
---|---|
Returns: | file-like object of the member of the Zip archive. |
Get ZipInfo object for Part.
Parameters: | partname (string) – name of Part (member of the Zip archive) |
---|---|
Returns: | ZipInfo |
Test zip CRC value.
Raises ZipCRCError: | |
---|---|
If the Zip CRC is incorrect |