[PyKDE] C++ to Python Datatypes

Russell Valentine russ at coldstonelabs.org
Tue Oct 14 04:53:00 BST 2003

On Mon, 13 Oct 2003 09:06:28 +0100
Phil Thompson <phil at riverbankcomputing.co.uk> wrote:

> Unless the documentation says otherwise, uchar * corresponds to a Python
> string. So your buffer initialisation should be something like...
> buffer = "\xff\x00\xff\x00"

Ok thank you for your help. This worked out for me.

Russell Valentine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20031014/bbfbe082/attachment.bin

More information about the PyQt mailing list