摘要: 1:读取完一个大文件 with open('1.txt','r') as f: content=f.readline() while len(content)>0: print(content) content=f.readline() 2:读取完一个大文件中包含指定字符python的行 with 阅读全文
posted @ 2022-10-09 19:47 观呼吸 阅读(48) 评论(0) 推荐(0)