code: def pop(self):
          
          if not self.fp:
              raise RuntimeError(
                    "Attempt to pop from ZIP archive that was already closed")
          last = self.infolist().pop()
          del self.NameToInfo[last.filename]
          self.fp.seek(last.header_offset, os.SEEK_SET)
          self.fp.truncate()
          self._didModify = True
docs: Truncate the last file off this zipfile.
          Assumes infolist() is in the same order as the files (true for
          ordinary zip files created by Python)