python自动zip压缩目录的方法
本文实例讲述了python自动zip压缩目录的方法。分享给大家供大家参考。具体实现方法如下: 这段代码来压缩数据库备份文件,没有使用python内置的zip模块,而是使用了zip.exe文件 # Hello, this script is written in Python - http://www.python.org # # autozip.py 1.0p # # This script will scan a directory (and its subdirectories) # and automatically zip files (according to their exte
下载地址
用户评论