Create .zip in Python?
Create .zip in Python? Question: I’m trying to create a function in my script that zips the contents of a given source directory (src) to a zip file (dst). For example, zip(‘/path/to/dir’, ‘/path/to/file.zip’), where /path/to/dir is a directory, and /path/to/file.zip doesn’t exist yet. I do not want to zip the directory itself, this makes all …