Hi, really often I have this kind of code in my application when it comes to converting a QByteArray to s string under Python 3.1.
s = bytes(QByteArray).decode() In Python 2 one could use s = unicode(QByteArray) to get the same result. Did I miss something or could QByteArray get a decode() method to make it similar to a Python3 bytes or bytearray type? Regards, Detlev -- Detlev Offenbach [email protected] _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
