Python chr() Function

Example

Get the character representing unicode 78:

x = chr(78)

Run Instance

Definition and Usage

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

Syntax

chr(number)

Parameter Value

Parameter Description
number An integer representing a valid Unicode code point.

Related Pages

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