I am used to the python byte literal syntax representing bytes as hex values such as b\'\\x7a\' is the hex value 0x7a. I however have run into an i
b\'\\x7a\'
0x7a
Byte array notation converts certain values to their textual representation:
>>> b'\x12\x41\x42' b'\x12AB'
In this case the hex number 41 is the ASCII value for capital letter A.