[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Using QSerialPort() instead of pyserial
From:       Phil <phil_lor () bigpond ! com>
Date:       2017-11-20 9:03:35
Message-ID: 432679ec-7169-5c4e-3fcb-e153e4699c30 () bigpond ! com
[Download RAW message or body]

On 20/11/17 18:33, Florian Bruhin wrote:
>

Thank you once again Florian for a swift reply and explanation.

> I usually do bytes(data).decode('ascii').
> That converts the QByteArray to a Python bytes object, and then decodes that.

That, of course, works well.

-- 
Regards,
Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic