All Questions
2 questions
1
vote
0
answers
374
views
Python code to create password protected zip in-memory for HttpResponse
I would like to generate a password-protected Zip file for my csv data in memory and return to webpage via Django HttpResponse.
So far I can generate plain zip file to HttpResponse as follows:
from ...
0
votes
2
answers
568
views
How do I use subprocess to delete a file in a zip folder using Python
[Python 2.6.5] Simple question but can't seem to find any documentation or previous questions answering my problem. I'm trying to delete 2 files within a ZIP Folder (Its 2 Folders deep in the ZIP ...