Python 分割大文件
# -*- coding: cp936 -*-import osimport timedef mkSubFile(lines, head, srcName, sub): [des_filename, extname] = os.path.splitext(srcName) filename = des_filename + '_' + str(sub) + extname print('make file: %s' % filename) fout = open(f
原创
2021-03-29 17:16:04 ·
135 阅读 ·
1 评论