Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python read zipfile

# Extract all contents from zip file
import zipfile
with zipfile.ZipFile('filename', 'r') as myzip: #'r' reads file, 'w' writes file
    myzip.extractall()
# The zipfile will be extracted and content will be available in your working
# directory.
 
PREVIOUS NEXT
Tagged: #python #read #zipfile
ADD COMMENT
Topic
Name
4+4 =