THE WORLD'S LARGEST WEB DEVELOPER SITE

Python chr() Function

❮ Built-in Functions


Example

Get the character that represents the unicode 97:

x = chr(97)
Run example »

Definition and Usage

The chr() function returns the character that represents the specified unicode.


Syntax

chr(number)

Parameter Values

Parameter Description
number An integer representing a valid Unicode code point

Related Pages

Convert back to unicode with the ord() function.


❮ Built-in Functions