explore-python icon indicating copy to clipboard operation
explore-python copied to clipboard

str没有decode这个属性?

Open chez314 opened this issue 9 years ago • 1 comments

AttributeError: 'str' object has no attribute 'decode'

chez314 avatar Jan 05 '17 14:01 chez314

Python3 字符串默认都是 Unicode 类型,不用 decode,也没有 decode 方法。

ethan-funny avatar Jan 05 '17 14:01 ethan-funny