sciris.sc_fileio.savezip

savezip(filename=None, filelist=None, folder=None, basename=True, verbose=True)[source]

Create a zip file from the supplied list of files

Example:

scripts = sc.getfilelist('./code/*.py')
sc.savezip('scripts.zip', scripts)