python3 readline type error bytes like obect code example Example: TypeError: a bytes-like object is required, not 'str' 'Hello World'.encode()