On line 70, we create the list of headers for our potential dictionary. Line 81 is where the proverbial magic happens. The built-in zipfile library is used to read, write, append, and list files in a ZIP archive. On line 81, we create our ZIP file object, allowing us to read the documents contained within it. See the following code:
059 def get_tags(filename):060 """061 The get_tags function extracts the office metadata from the062 data object.063 :param filename: the path and name to the data object.064 :return: tags and headers, tags is a dictionary containing065 office metadata and headers are the order of keys for the CSV066 output.067 """068 069 # Set up CSV headers070 headers = ['Path', 'Name', ...