ZIP legacy encryption
By default, WinRAR uses AES-256 in CTR mode to encrypt ZIP archives. While AES-256 is significantly more secure than ZIP 2.0 legacy encryption algorithm, it can be incompatible with some older unzip software. If compatibility with such tools is required, you can enable "ZIP legacy encryption" option in the password dialog or use -mezl switch in the command line mode.
The zipfile module from the Python standard library supports only CRC32 encrypted zip files.
Try pyzipper, A 100% API compatible replacement for Python's zipfile that can read and write AES encrypted zip files.