Last active
October 30, 2020 14:14
-
-
Save amacal/0b92b8e4dd47593c86ab076f4501033b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from zipfile import ZipFile | |
with ZipFile('terraform_0.13.4_linux_amd64.zip') as archive: | |
# archive filename | |
assert archive.filename == 'terraform_0.13.4_linux_amd64.zip' | |
# its consistency | |
assert archive.testzip() == None |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment