base64 encode a zip file in Python

Viewed 20768

Can someone give me some advice on how to encode a zip file into base64 in Python? There are examples on how to encode files in Python using the module base64, but I have not found any resources on zipfile encoding.

Thanks.

2 Answers
Related