import zipfile as zf files = zf.ZipFile("ZippedFolder.zip", 'r') files.extractall('directory to extract') files.close()