Python chr()関数
例
Unicode97を表す文字を取得します。
x = chr(97)
定義と使用法
このchr()
関数は、指定されたUnicodeを表す文字を返します。
構文
chr(number)
パラメータ値
Parameter | Description |
---|---|
number | An integer representing a valid Unicode code point |
関連ページ
ord() 関数を使用してUnicodeに変換し直します。