I am using this zipfile.Zipfile module to zip around 600 MB of data. But after zipping, the size of the zipped folder is app. same.
file = zipfile.ZipFile(yesterday_date_time + ".zip","w")
dirList = os.listdir(rawFileLocation)
for fnames in dirList:
If i try to use compression method as ZIP_DEFLATED, it raises an error.