Category "zip"

ZIp only contents of directory, exclude parent

I'm trying to zip the contents of a directory, without zipping the directory itself, however I can't find an obvious way to do this, and I'm extremely new to py

how can I export multiple images using zipfile and urllib2

I am trying to add multiple image files into my zip. I have searched around and knows how to add a single one. I tried to loop through multiple images then wri

Report compression progress for ZipFIle

Is it possible to monitor/report compression progress for zipfile.ZipFile()? I found an explanation for how to monitor extraction progress here, but I guess a

make aborting because zip exits with status 12

make is halting and reporting an error code of 12 after attempting to zip -u some files. The error code 12 is actually an exit status from zip which indicates

python zipfile module: How to change the structure of zip archive created? [duplicate]

I wrote the following code in order to zip bin_file_path: zf = zipfile.ZipFile(file_to_search, mode='w') zf.write(bin_file_path) zf.close(

python zipfile multiple files

i am having problems with python and zipfile, namely: I can't add a second file to my zip. here is my code, if you need more, I'll be glad to provide it. def z

How to get meta-data of files inside compressed folder

I am trying to build a script written in Python which explore an archive (in this case a zip), and recursively gets all meta-data of files. I usually use the f

Zipfile not compressing some SVG files in Python

I've been making an script to transform Latex code to SVG images in epubs. The idea is to extract an epub in a temp directory, to find the code and to create SV

archiving symlinks with python zipfile

I have a script that creates zip files of dirs containing symlinks. I was surprised to find that the zipfiles have zipped the targets of the links as opposed to