You can download this code by clicking the button below.
This code is now available for download.
This function extracts all files from a specified zip file to a specified folder.
Technology Stack : zipfile
Code Type : Function
Code Difficulty : Advanced
def zipfile_extract(source_zip, destination_folder):
import zipfile
with zipfile.ZipFile(source_zip, 'r') as zip_ref:
zip_ref.extractall(destination_folder)
return destination_folder