If you want the string I think you can use formattedString = pp.pformat(mydict) to get the string.
Having said that there is also https://docs.inductiveautomation.com/display/DOC81/system.perspective.download
If you want the string I think you can use formattedString = pp.pformat(mydict) to get the string.
Having said that there is also https://docs.inductiveautomation.com/display/DOC81/system.perspective.download