ypeError: decoding str is not supported
groups.google.com › g › compSep 28, 2019 · I have some code comes from python 2 like the following: str ('a', encoding='utf-8') But for python 3, this will fail as follows: >>> str ('a', encoding='utf-8') Traceback (most recent call last): File "<input>", line 1, in <module>. TypeError: decoding str is not supported.