不重复造轮子: https://blog.csdn.net/li532331251/article/details/78203438 未经允许不得转载:MR LYU » Python txt文件读取写入字典的方法(json、eval)