# unzip files import zipfile funzip = 'zipped_file.zip' un_zip = zipfile.ZipFile(funzip, 'r') un_zip.extractall() un_zip.close()