import zipfile, os
class Zip:
readme ="""
input_path,out_path, filelist,zipfilename
input_path,out_path,zipfilename type is str
"""
def __init__(self,input_path,out_path, filelist,filename,pathflag = '/'):
self.input_path = input_path
self.out_path = out_path
self.filelist = filelist
self.filename = filename
self._pathflag = pathflag
def check(self):
for date in [self.input_path, self.out_path, self.filename]:
for ci in date:
if type
python实现压缩文件
最新推荐文章于 2024-07-02 17:23:19 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)