In many languages there\'s a pair of functions, chr() and ord(), which convert between numbers and character values. In some languages, ord()
chr()
ord()
Try:
'A'.unpack('c')