Python txt文件读取写入字典的方法(json、eval)

1、使用json转换方法 一、字典写入txtpython import json dic = { 'andy':{ 'age': 23, 'city': 'beijing', 'skill': 'python' }, 'william': { 'age': 25,
相关文章
相关标签/搜索