I have a dictionary containing strings with Unicode characters:
d = {'middle': "middle is:\U0001f004."}
For debugging purposes, I'd like to print d
and get output with the same notation:
print(d)
{'middle': "middle is:\U0001f004."}
How do I do that?