On this page
  1. unicodedata.name
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

unicodedata.name

Prev: unicodedata.mirrored | Up: unicodedata | Next: unicodedata.normalize
Rel: unicodedata.bidirectional, unicodedata.category, unicodedata.combining, unicodedata.decimal
Ref: docs.python.org — unicodedata.name
Tags: #public #python3 #stdlib #unicodedata


Import

import unicodedata
from unicodedata import name

Signature & Overview

unicodedata.name(...)

Returns the name assigned to the character chr as a string.

Usage

import unicodedata

assert unicodedata.name('€') == 'EURO SIGN'
assert unicodedata.name('\x00', 'CONTROL') == 'CONTROL'

Gotchas

REPL Inspect

from unicodedata import name
help(name)

Linked from

Related notes