tags:

views:

425

answers:

1

Since python2.6, it's now easier to extract data from a password protected zip. But how to create a password protected zipfile in pure python ?

+3  A: 

I've looked for this in the past and been unsuccessful. (I'd love to see a solution get posted!)

One option is a commercial package from chilkatsoft that will do this, but at $150. Makes sense if you are doing a commercial app, but tough to swallow otherwise.

I wound up calling out to the system for my solution, a while ago. Unfortunately, this locks it to a platform.

Joe