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-04-06 13:17:04 发布