SyntaxFix
Write A Post
Hire A Developer
Questions
You can do as follow :
import json exDict = {1:1, 2:2, 3:3} file.write(json.dumps(exDict))
https://developer.rhino3d.com/guides/rhinopython/python-xml-json/