use chr(): https://docs.python.org/2/library/functions.html#chr
and ord(): https://docs.python.org/2/library/functions.html#ord
or encoded string (this one in hex for 'ABC') "\x41\x42\x43"
and ord(): https://docs.python.org/2/library/functions.html#ord
or encoded string (this one in hex for 'ABC') "\x41\x42\x43"