shuttil.make_archive

dst = '/mnt/data' # where to save
src = '/home/abc' # directory to be zipped
path_to_archive = shutil.make_archive(dst,'zip',src)
# path_to_archive = '/mnt/data/abc.zip
Combative Crocodile