2016年11月7日

摘要: handle文件: # -*- coding: utf-8 -*-import redef lines(file): """ 把原文件尾加一行空行 """ for line in file: yield line yield '\n'def blocks(file): """ 把文件分段 """ b 阅读全文

posted @ 2016-11-07 17:02 通天树 阅读(351) 评论(0) 推荐(0) 编辑