Iterable Ctypes Struct

mark.seagoe at gmail.com mark.seagoe at gmail.com
Wed Feb 11 13:35:36 EST 2009


In last post, I mixed code w/ 'p' and 'point'.  Should be:

>>> point._fields_.append(('z', c_int))
>>> point.z = 30
>>> print 'List:', list(point)

List: [10, 20, 30]



More information about the Python-list mailing list