0

In python 3.7.3 , I try to do with a string:

document_new = unicode(document, "utf-8")

but I get the following error:

NameError: name 'unicode' is not defined

Keep in mind that when I run print(type(document)) then the output is <class 'str'>.

Outcast
  • 4,588
  • 3
  • 36
  • 85

0 Answers0