2019年9月4日
摘要: import time from multiprocessing import Process, JoinableQueue, cpu_count import csv ####处理一条数据的方法 def deal_line(line, writer, csv_file): writer.writerow((line[3], line[1])) csv_file.flush()#重点,在多进程中写 阅读全文
posted @ 2019-09-04 18:10 hailuo 阅读(6578) 评论(0) 推荐(0) 编辑