python将文件夹打包

用zipfile,tarfile

详解见https://www.cnblogs.com/liangqihui/p/9219333.html

原文地址:https://www.cnblogs.com/zhuyunbk/p/11375149.html