C struct fields from Python

j vickroy jim.vickroy at noaa.gov
Tue Feb 25 16:54:18 EST 2003


Hello,

I am just starting to use the ctypes module.

A function in a dll, being accessed via ctypes, returns the address of a C
structure.

How can I use this address, from Python, to access fields in the structure?

Thanks.






More information about the Python-list mailing list