python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Python read n line of a file with zipfile.ZipFile
I would like to know if it's possible to read the second line of each files contains in a zip file?
zf = zipfile.ZipFile(myzip.zip)
for f in zf.namelist():
csv_f = zf.read(f)
first_line = csv_f....
Indi59
Votes: 0
Answers: 1
using python, look at the contents of a compressed file without reading the entire file
Using python, I want to look at the contents of a .zip (deflate) without reading the entire file. I have a very slow network drive containing lots of compressed files. I would like to be able to open...

J'e
Votes: 0
Answers: 0
How to ignore or remove corrupt files in a zip in Python
I have a large zip file (40 GB) and I am trying to extract it. But some files are corrupted. Therefore whenever I try to extractall() I get BadZipfile: Bad CRC-32 for file 'filename.jpg' error. When I...

Serhat
Votes: 0
Answers: 1
Comparing two text files inside zip files using python
I want to compare two text files with same name and same relative path inside two different zip files using python.
I have been trying to search various ways and found none of the top solutions availa...

Asif Iqbal
Votes: 0
Answers: 1