Created
December 29, 2016 17:12
-
-
Save leveled/e966911539c99a9e2bdfe5e7aededead to your computer and use it in GitHub Desktop.
Return unicode character from an ordinal argument and vice versa in python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> unichr(97) | |
u'a' | |
>>> unichr(1234) | |
u'\u04d2' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment