Hello;
If I need to display the contents of the document in msgprint, how I can do that?
For example:
I have this code:
for d in self.get(‘items’):
and I need to display the contents of the d or the contents of self.get(‘items’), as we display the dictionary or the list, how?
I tried belows (all of them) but it was giving me error:
frappe.msgprint(“d is {0}”.format(d))
frappe.msgprint(“d is {0}”.format(dict(d)))
I was think if possible to display it same as I can do for dictionary or list or any string, how?
Regards
Bilal