python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Python ZipFile Created In-Memory Not Compressing as Expected
I am trying to use Python to create a ZipFile object in-memory, and write a single file, also created in-memory, into the ZipFile object, and then upload the file to Google Cloud Storage.
My file is n...
Dave Morris
Votes: 0
Answers: 1
zipfile and shutil not keeping the file exif data
I have a .zip archive and within it a single .dng image file with metadata about exposure time, etc.
When unpacking this achive using either shutil.unpack_archive or ZipFile.extractall(), the .dng is ...
Yarden
Votes: 0
Answers: 1
Bruteforcing a zip password in python
I want to bruteforce a 4 digit password with the following loop.
My openFile function works as planned when using it isolated. When I try it with my breakPW funtion it doesnt work at all.
Any tips and...
Felix D
Votes: 0
Answers: 0
How to identify whether an item inside ZipFile is a directory
Consider a zip file that contains a directory with some files inside, e.g. contents of sample.zip are:
Archive: ziptest.zip
Length Date Time Name
--------- ---------- ----- ----
...
SultanOrazbayev
Votes: 0
Answers: 1