str 类型的字符串通常被称为普通字符串(plain string),区别于 unicode 类型的字符串(unicode string): >>> s = 'this is a plain string.
基于32个网页-相关网页
UNICODE-STRING 包含Unicode字符的字串
It now returns a unicode string.
现在,它会返回一个unicode字符串。
It has a Unicode string type and an array type.
它有一个Unicode的字符串类型和数组类型。
In Python 3.0 all strings are unicode (STR is now unicode string) and there is a new type called bytes to hold byte sequences.
在Python 3.0之中,所有的字符串都是unicode的(str就是unicode字符串),并引入了一个叫做bytes的新类型来处理字节序列。
应用推荐