Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Using Python, getting the name of files in a zip archive

with ZipFile('foo.zip', 'r') as f:
    names = f.namelist()
print names
# ['file1', 'folder1/file2', ...]
 
PREVIOUS NEXT
Tagged: #Using #files #zip #archive
ADD COMMENT
Topic
Name
1+3 =