Answers for "extract zip file in python zipfile"

0

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
Posted by: Guest on April-22-2022

Python Answers by Framework

Browse Popular Code Answers by Language