一个关于python zipfile 的问题?

import zipfile

zfile = zipfile.ZipFile('1.zip')

zfile.extractall(path='.', pwd='12345'.encode('utf8'))

错误:
RuntimeError: Bad password for file

密码,路径没错但是一直报错