05 2021 档案

摘要:写入: with open(qa_csv_path, "w") as csv_file: # 设定写入模式 csv_write = csv.writer(csv_file, dialect='excel') for l in write_list: csv_write.writerow(l)读取: 阅读全文
posted @ 2021-05-23 18:36 乌蝇哥 阅读(300) 评论(0) 推荐(1) 编辑
摘要:with open(PATH, 'w', encoding='utf8') as f: json.dump(tw, f, ensure_ascii=False) 阅读全文
posted @ 2021-05-22 10:17 乌蝇哥 阅读(185) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示