Question: what is b in python string?
Answer: In Python 3, Bytes literals are always prefixed with 'b' or 'B'; they produce an instance of the bytes type instead of the str type. They may only contain ASCII characters; bytes with a numeric value of 128 or greater must be expressed with escapes. Python 3.x makes a clear distinction between the types: str = '...'