Question

How to get the Unicode of a character in Python?


Annonce
Ad

Answer

With ord(), for example:
>>> ord('€')
8364


[source]
# ID Query