Remove uncide notation

Ashish Jain ashishjain.ash at gmail.com
Thu Oct 18 05:27:04 EDT 2012


Hi,

I have a html string in an object, when I do repr() of that object, I get value as:

{'Id' : 1, 'Body': u'<p> Hello </p>'}

I don't wish to have 'u' as the character in my string representation. As this is not a valid json notation now.

Thanks for your help

-Ashish



More information about the Python-list mailing list