以下程序实现:把'xiaoming'的个人信息填到family的csv文件中,再读取出来。空格处应填?( )
import json import csv fam = {'name':'xiaoming','age':18,'gender':'nan'} with open('family.csv','w') as f: json. (fam,f) with open('family.csv','r') as f1: read1 = json. (f1) print(read1
reader,writer
writer,reader
dump,load
load,dump