I have some 100 folders zipped and password protected. To unzip them using python script I can use:
import zipfile
with zipfile.ZipFile("file.zip","r") as zip_ref:
zip_ref.extractall("targetdir").
But how to give password. Suppose the password is 'password'. How van i unzip and print all the folders using python script.