get hex code of character python

Solutions on MaxInterview for get hex code of character python by the best coders in the world

showing results for - "get hex code of character python"
Neele
16 Jun 2017
1hex(ord("c"))
Regina
09 May 2017
1import codecs
2codecs.encode(b"c", "hex")