py2和py3编码问题

2019-10-30
阅读 2 分钟
1.7k
注意:python2的basestring和str是不同的, basestring是包含了bytes和unicode两种类型, 而str就是bytes类型.