I have the following printed bytes returned from another system using sockets:
b"\x0bMessage Received!\r\x1c\r"
For example:
print(b"\x0bMessage Received!\r\x1c\r".decode(encoding="utf-8"))
And a I got
Can you help me to understand how to get an output like this Message Received! from that message.
print(b"\x0bMessage Received!\r\x1c\r".replace(b'\x0b', b'').decode(encoding="utf-8"))