def cZip(cDir,tName,zName):
'''
creates a zip file of the temporary directory
'''
os.chdir(cDir)
#zName = 'pipelign.' + time.strftime('%Y-%m-%d-%H%M%S')
try:
shutil.make_archive(zName,'zip',tName)
except OSError as e:
sys.exit(e)
print('\nArchive for all temporary files created in %s.zip\n' % zName)
sys.exit()
#******************************************
评论列表
文章目录