python get hex value of character code example
Example 1: get hex code of character python
import codecs
codecs.encode(b"c", "hex")
Example 2: get hex code of character python
hex(ord("c"))
import codecs
codecs.encode(b"c", "hex")
hex(ord("c"))