On Tue, Apr 17, 2018 at 3:50 AM, Rhodri James <rho...@kynesim.co.uk> wrote:
> You don't say, but I assume you're using Python 2.x
>
> [snip]
>
>> getting this error - TypeError: a bytes-like object is required, not 'str'

Actually, based on this error, I would suspect Python 3.x. But you're
right that (a) the Python version should be stated for clarity
(there's a LOT of difference between Python 3.3 and Python 3.7), and
(b) the full traceback is very helpful.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to