Re: How to access C structures

2009-04-17 Thread Stefan Behnel
Chris Helck wrote: > I have a couple dozen C structures that define binary file records. I > need to read the file and access the records. I need to do this very > efficiantly. > > I am aware of the Python struct class, but the C structures contain > arrays of nested structures and I'm not sure if

Re: How to access C structures

2009-04-16 Thread Mark Tolonen
"Chris Helck" wrote in message news:6db873c2999f7547ad0d1c0e6f0c89d704285...@uspsexchs1.us.icap.com... I have a couple dozen C structures that define binary file records. I need to read the file and access the records. I need to do this very efficiantly. I am aware of the Python struct class,

How to access C structures

2009-04-16 Thread Chris Helck
I have a couple dozen C structures that define binary file records. I need to read the file and access the records. I need to do this very efficiantly. I am aware of the Python struct class, but the C structures contain arrays of nested structures and I'm not sure if Python struct can handle it. I