By contrast, byte strings use only
\x hexadecimal escapes to embed the encoded
form of text, not its decoded code point values
When you use bytes (eg. b"\xA3"), the values is stored as literal byes. So when you print this stsring, you get exactly b"\xA3". You need to call .decode() to get the actual decoded character printed.
Share this highlighthttp://learning.oreilly.com/a/learning-python-5th/19659126/