[PyKDE] List comprehension and pointer types
Tom Badran
tb100 at doc.ic.ac.uk
Sun Nov 30 11:28:00 GMT 2003
Using the QImage class i can access the pixel array using the .bits() method,
which python reports as returning the type void.ptr
Is there any way i can process this type with list copmrehensions or mapping
functions as i cant seem to use the standard list operators such as
list[some_reference] on the object.
Thanks
Tom
--
^__^ | Tom Badran
(oo)\______ | Imperial College
(__)\ )\/\| Department of Computing
||----w | | -----------------------
|| || | Using Debian SID
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20031130/69e68d98/attachment.bin
More information about the PyQt
mailing list