import csvwith open('example.csv', 'a+') as f: writer = csv.writer(f) datas = [['name', 'age'], ['Bob', 14], ['Tom', 23], ['Jerry', '18']] writer.writerows(datas)
posted on 2018-12-19 17:34 袁佳佳 阅读(216) 评论(0) 编辑 收藏 举报