How to read a structure containing an array using Python's ctypes and readinto?

Accordingly to this documentation page (section: 15. 15.1.13. Arrays) it should became something like.

Accordingly to this documentation page (section: 15. 15.1.13. Arrays) it should became something like: class strucWithArrays(Structure): _fields_ = ("foo", c_ulong), ("barFloat", c_float * 4), ("bowFloat", c_float * 17) Check that documentation page, there are some example there.

Thanks! Not sure how I missed that one. – anon Sep 18 '09 at 12:59.

There's a section about arrays in ctypes in the documentation. Basically this means: class structWithArray(Structure): _fields_ = ("foo", c_ulong), ("barFloat", c_float * 4), ("bowFloat", c_float * 17) .

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions