ID EN
Array

tounicode

Python 3.11

Convert the array to a Unicode string. The array must have a type 'u'; otherwise a ValueError is raised. Use array.tobytes().decode(enc) to obtain a Unicode string from an array of some other type.

Syntax

PYTHON
tounicode()

See Also

ValueError