摘要: ***文件的操作*** seek方法 for i in f: offs = -10 while True: f.seek(offs, 2) data = f.readlines() if len(data) > 1: print("文件最后一行是 %s" %(data[-1].decode("utf 阅读全文
posted @ 2020-09-28 23:47 SmallCap 阅读(80) 评论(0) 推荐(0)