字典 完整 写入TXT 完整取回 可当做配置项 // An highlighted block import json dict1={ } ## 把dict2 内容写入 《test.txt》 完整些进去 dict2={ 'root':'123','admin':'666',} with open