1. 首页
  2. 数据库
  3. 其它
  4. python自动zip压缩目录的方法

python自动zip压缩目录的方法

上传者: 2020-12-29 22:57:46上传 PDF文件 31.64KB 热度 9次
本文实例讲述了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
下载地址
用户评论