I have searched the web high and low but still couldn\'t find a solution for the above problem. Does anyone out there know why and if so how it can be done?
To offer the exact syntaxt without acronym:
from zipfile import ZipFile str_zipFile = 'FileZip.zip' str_pwd= 'xxxx' with ZipFile(str_zipFile) as zipObj: zipObj.extractall(pwd = bytes(str_pwd,'utf-8'))