Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import zipfile
- def extract_zip_file(file_path, destination_path):
- with zipfile.ZipFile(file_path, 'r') as zip_ref:
- zip_ref.extractall(destination_path)
- # Use the function
- extract_zip_file('path_to_your_zip_file.zip', 'path_to_extract_to')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement