code: def create_zip_from_folder(zip_file, fldr, mode="r"):
      
      #print('zip from folder - adding folder : ', fldr)
      zipf = zipfile.ZipFile(zip_file, 'w')
      for root, dirs, files in os.walk(fldr):
          for file in files:
              fullname = os.path.join(root, file)
              #print('zip - adding file : ', fullname)
              zipf.write(fullname)
      
      
      zipf.close()
docs: add all the files from the folder fldr
      to the archive