I am not sure if I am not missing something obvious, but say I have:
b = bytes((65, 20))
print(b) # b'A\x14'
However, I don’t want to see “A”, I want to see hex representation
Then yes, I can do:
print(b.hex()) # '4114'
Which is what I want, however, not exactly.
It is hard to read without ‘\x’ as for long streams I can’t clearly see which is 1st and which is 2nd.
So is there something that can display:
print(?) # '\x41\x14'