摘要: 1)打开两个文件并执行操作with open('文件操作','r',encoding= 'utf-8') as f,open('文件操作.bak','w',encoding= 'utf-8') as f2: for line in f: if 'star' in line: line = line. 阅读全文
posted @ 2019-07-18 20:50 小白柚子 阅读(198) 评论(0) 推荐(0) 编辑