On 31 March 2017 at 22:23, Simon Glass wrote:
> On 30 March 2017 at 08:44, George McCollister
> wrote:
>> os.read() returns a byte array in Python 3.5.2 and needs to be converted
>> into a string. Check if the returned value is an instance of
On 30 March 2017 at 08:44, George McCollister
wrote:
> os.read() returns a byte array in Python 3.5.2 and needs to be converted
> into a string. Check if the returned value is an instance of bytes and
> if it is decode it as a utf-8 string. If it is not a utf-8
2 matches
Mail list logo