encryption - How to read encrypted zip files in Python -


the user have encrypted zip file, use program enter there password , extract files zip. however, i'm stuck!

ive gone through python documentation on zip files pretty well, can't find opening encrypted zips.

from https://docs.python.org/2/library/zipfile.html:

zipfile.extractall([path[, members[, pwd]]]) 

extract members archive current working directory. path specifies different directory extract to. members optional , must subset of list returned namelist(). pwd password used encrypted files.

works on python 3 too: https://docs.python.org/3/library/zipfile.html


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

datatable - Matlab struct computations -