February 2006
Intermediate to advanced
648 pages
14h 53m
English
The unicodedata module provides access to the Unicode character database, which contains character properties for all Unicode characters.
bidirectional(unichr)
Returns the bidirectional category assigned to unichr as a string, or an empty string if no such value is defined. Returns one of the following:
| Value | Description |
|---|---|
| L | Left-to-Right |
| LRE | Left-to-Right Embedding |
| LRO | Left-to-Right Override |
| R | Right-to-Left |
| AL | Right-to-Left Arabic |
| RLE | Right-to-Left Embedding |
| RLO | Right-to-Left Override |
| Pop Directional Format | |
| EN | European Number |
| ES | European Number Separator |
| ET | European Number Terminator |
| AN | Arabic Number |
| CS | Common Number Separator |
| NSM | Non-Spacing Mark |
| BN | Boundary Neutral |
| B | Paragraph Separator |
| S | Segment Separator |
| WS | Whitespace |
| ON | Other Neutrals |
category(unichr)
Returns a ...
Read now
Unlock full access