Return the ordinal value of a character. If the argument is a one-character string, return the Unicode code point of that character. If the argument is a bytes or bytearray object of length 1, return its single byte value.
builtins/ord
ord