openpyxl.packaging.manifest module¶
File manifest
- class openpyxl.packaging.manifest.FileExtension(Extension, ContentType)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- ContentType¶
Values must be of type <class ‘str’>
- Extension¶
Values must be of type <class ‘str’>
- tagname = 'Default'¶
- class openpyxl.packaging.manifest.Manifest(Default=(), Override=())[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- Default¶
A sequence (list or tuple) that may only contain objects of the declared type
- Override¶
A sequence (list or tuple) that may only contain objects of the declared type
- property extensions¶
Map content types to file extensions Skip parts without extensions
- property filenames¶
- path = '[Content_Types].xml'¶
- tagname = 'Types'¶