阅读背景:

如何将unicode转义序列转换为python字符串中的unicode字符?

来源:互联网 

When I tried to get the content of a tag using "unicode(head.contents[3])" i get the output similar to this: "Christensen Sk\xf6ld". I want the escape sequence to be returned as string. How to do it in python?When I tried to get the content of a tag using




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: