May-24-2020, 09:12 PM
(This post was last modified: May-24-2020, 09:17 PM by pythonlearner1.)
I did do this and it worked. but now thinking if I can do this in one line
Michael, that does not work beceasue I have { and ' and \n all in that string. it gives me error
data1 = '\n{ "objects":[\n {\n "type":"dashboard",\n "id":' data2 = '\n } ] ,\n "includeReferencesDeep": true\n}' data = data1 + '"' + dashboard_id + '"' + data2
Michael, that does not work beceasue I have { and ' and \n all in that string. it gives me error