Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

extract zip file in python zipfile

from zipfile import ZipFile
import zipfile

with ZipFile('test.zip') as myzip:
    with myzip.open('Roughwork/textfile.text') as myfile:
        print(myfile.readlines())Copy Code
Source by www.alixaprodev.com #
 
PREVIOUS NEXT
Tagged: #extract #zip #file #python #zipfile
ADD COMMENT
Topic
Name
6+2 =