We can not use unicode function in Python 3, as it is renames to str in Python 3 version.
In Python 3, all strings are Unicode strings by default, so the unicode function is no longer necessary.
Please carefully review all instances where unicode is used, and replace them with str as appropriate.

We can not use

unicodefunction in Python 3, as it is renames to str in Python 3 version.In Python 3, all strings are Unicode strings by default, so the unicode function is no longer necessary.
Please carefully review all instances where unicode is used, and replace them with str as appropriate.