Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #31615

Remove uncide notation

Newsgroups comp.lang.python
Date 2012-10-18 02:27 -0700
Message-ID <e3a36bc8-ccaa-4bf5-a005-f7c016fe1de2@googlegroups.com> (permalink)
Subject Remove uncide notation
From Ashish Jain <ashishjain.ash@gmail.com>

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Remove uncide notation Ashish Jain <ashishjain.ash@gmail.com> - 2012-10-18 02:27 -0700
  Re: Remove uncide notation Chris Rebert <clp2@rebertia.com> - 2012-10-18 02:40 -0700
    Re: Remove uncide notation Ashish Jain <ashishjain.ash@gmail.com> - 2012-10-18 03:19 -0700
    Re: Remove uncide notation Ashish Jain <ashishjain.ash@gmail.com> - 2012-10-18 03:19 -0700
  Re: Remove uncide notation 88888 Dihedral <dihedral88888@googlemail.com> - 2012-10-19 11:48 -0700

csiph-web