writestr(arcinfoswrites the string into the zip file arcinfo is either filename within the archive in which the data will be stored or zipinfo instance containing filenamedateand time zipinfo instances returned by the zipinfo() getinfo()and infolist(functions have the following attributesattribute description filename date_time archive member name tuple (year,month,day,hours,minutes,secondscontaining the last modification time month and day are numbers in the range - and - respectively all other values start at compression type for the archive member only zip_stored and zip_deflated are currently supported by this module archive member comment expansion field dataused to contain additional file attributes the data stored here depends on the system that created the file integer code describing the system that created the archive common values are (ms-dos fat) (unix) (macintosh)and (windows ntfspkzip version code that created the zip archive minimum version needed to extract the archive reserved field currently set to zip flag bits that describe the data encoding including encryption and compression volume number of the file header describes the internal structure of the archive contents if the low-order bit is the data is ascii text otherwisebinary data is assumed external file attributes which are operating system dependent byte offset to the file header byte offset to the start of the file data crc checksum of the uncompressed file size of the compressed file data size of the uncompressed file compress_type comment extra create_system create_version extract_version reserved flag_bits volume internal_attr external_attr header_offset file_offset crc compress_size file_size note detailed documentation about the internal structure of zip files can be found as pkzip application note at lib fl ff