code: def add_file_to_zip(zip_file, filename, archname=None, compress_type=None):
      
      with zipfile.ZipFile(zip_file, 'a') as zf:
          zf.write(filename, archname, compress_type)
docs: Zip <filename> into <zip_file> as <archname>.
      :param str|unicode zip_file: The file name of the zip file
      :param str|unicode filename: The name of the file to add, including the path
      :param str|unicode archname: The new name, with directories, of the file, the same as filename if not given
      :param str|unicode compress_type: The compression type