Python Char zu Hex
tmp = "hello world"
print("".join(["{:02x}".format(ord(c)) for c in tmp]))
CW
tmp = "hello world"
print("".join(["{:02x}".format(ord(c)) for c in tmp]))
hex(ord("c"))
import codecs
codecs.encode(b"c", "hex")
import codecs
x = codecs.encode(b"c", "hex")
print(x)
# b'63'