code: def _write_to_zip(self, path, contents):
          
          if isinstance(path, list):
              path = os.path.sep.join(path)
          self.zf.writestr(path, contents)
docs: _write_to_zip: Write file to zip
              Args:
                  path: (str) where in zip to write file
                  contents: (str) contents of file to write
              Returns: None