Raw strings to normal strings conversion?
James Stroud
jstroud at mbi.ucla.edu
Thu Aug 23 04:21:11 EDT 2007
Nagarajan wrote:
> Is there a way by which I could obtain normal string form of a raw
> string.
> XML CDATA is returned as raw string. But I need the string to actually
> escape special chars.
>
> Any idea?
>
This doesn't seem clear. Perhaps an example of what you get and what you
want it converted to.
In the meantime, see if urllib.unquote() doesn't do what you need.
James
More information about the Python-list
mailing list