ID EN
Built-in Types

decode

Python 3.11

Return the bytes decoded to a str.

Syntax

PYTHON
bytes.decode(encoding='utf-8', errors='strict')

See Also

str Standard Encodings UnicodeError codecs.register_error() Error Handlers Python Development Mode debug build str