Answers for "open a zip file python"

3

python zip file open as text

with ZipFile('spam.zip') as myzip:
    with myzip.open('eggs.txt') as myfile:
       eggs = io.TextIOWrapper(myfile)
Posted by: Guest on August-24-2020

Python Answers by Framework

Browse Popular Code Answers by Language