On Thu, Nov 3, 2016 at 10:48 AM, Bill Nolf <bn...@cox.net> wrote:
> How do I compress (gzip and/or tar) a directory in python?  I found examples 
> of compressing a file using gzip or tar but not a directory.
> thanks

I did a search for almost your exact question and got this:

http://stackoverflow.com/questions/1855095/how-to-create-a-zip-archive-of-a-directory

No time to look it over, but perhaps it will help.



-- 
boB
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to