title: Python unzip AES-128 encrypted file
body: <p>Is there a way to decompress an AES-128 encrypte file directly with python, since ZipFile throws a Bad Password error. If i use 7zip it works, so the password is correct, but then again 7zip needs to be installed as a dependency.</p>
  
  <p>What i tried:</p>
  
  <pre><code>from ZipFile import ZipFile
  zip = ZipFile('test.zip')
  zip.extractall(pwd='password')
  </code></pre>
  
  <p>This throws the Bad Password exception.</p>
  
  <p>Checking the file with 7zip</p>
  
  <pre><code>7z l -slt test.zip
  </code></pre>
  
  <p>This returns:</p>
  
  <pre><code>Encrypted = +
  Method = pkAES-128 Deflate
  </code></pre>