Do not guess the decoding of the returned output on osc api calls. This could lead to unexptected behavior. Just use sys.stdout.buffer.write() to print the bytes-like object in python3.