Aug-26-2018, 06:35 PM
Isn't
I have bytes like
I'm confused...
b'\xec'
the same as 0xEC
?I have bytes like
0xEC
as keys for a dict, but I keep getting a key error traceback with some code saying that b'\xec'
doesn't exist (I assume--it's a KeyError) when there is a key named 0xEC
.I'm confused...