Python NameError: name 'unicode' is not defined

mac2022-06-30  91

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

转载于:https://www.cnblogs.com/vercont/p/10210203.html

最新回复(0)