DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python open zip file
with
ZipFile
(
'spam.zip'
)
as
myzip
:
with
myzip
.
open
(
'eggs.txt'
)
as
myfile
:
print
(
myfile
.
read
(
)
)
Source by docs.python.org #
PREVIOUS
NEXT
Tagged:
#python
#open
#zip
#file
ADD COMMENT
Topic
COMMENT
Name
6+6 =
Submit