Python NameError: name 'unicode' is not defined

Python2 的unicode 函数在 Python3 中被命名为 str。在 Python3 中使用 ·str 来代替 Python2 中的 unicode.

posted @ 2018-10-07 12:58  vercont  阅读(2500)  评论(0编辑  收藏  举报