Python chr() Function

Example

Get the character representing unicode 78:

x = chr(78)

Run Instance

Definition and Usage

The chr() function returns the character representing the specified unicode.

Syntax

chr(number)

Parameter Value

Parameter Description
number Represents the integer of a valid Unicode code point.

Related Pages

Reference Manual:ord() Function(Converted back to unicode via ord().)