2022年5月11日

python2.7压缩带目录文件

摘要: 一 安装tarfile和scandir依赖包#!/bin/python# -*- coding: utf-8 -*-import osimport tarfileimport timeimport scandirdef make_tar_gz(output_filename, source_dir) 阅读全文

posted @ 2022-05-11 16:37 红薯啦里去挖 阅读(79) 评论(0) 推荐(0)

导航