摘要:
原文www.cnblogs.com/alex3714/articles/5765046.html 阅读全文
摘要:
info = { "name":"roger", "age":12}f = open("test.txt","w")f.write(str(info))f.close() f = open("test.txt","r")data = f.read()print(data["name"])f.close()会报错使用eval() f = open("test.txt","... 阅读全文