摘要: 读取文件方法: def read_file(file_name, chunk_size=512): with open(file_name, "rb") as f: while True: c = f.read(chunk_size) if c: yield c else: break View C 阅读全文
posted @ 2023-03-16 19:11 3ξ 阅读(235) 评论(0) 推荐(0) 编辑