Created
March 29, 2021 14:18
-
-
Save ShawonAshraf/47a286a01af9961e3e1fa97ae7d810cf to your computer and use it in GitHub Desktop.
Unzip zip files in python
This file contains hidden or 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
import zipfile | |
zip_ref = zipfile.ZipFile("arc.zip", "r") # path to zipfile | |
zip_ref.extractall("target") # target dir | |
zip_ref.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment