Python 写json文件(将一个字典变量,写成json)
def updateConfigFile(self,result):
with open('software_try.json', 'w') as f:
json.dump(result, f)
def updateConfigFile(self,result):
with open('software_try.json', 'w') as f:
json.dump(result, f)