Interconvert a ctypes.Structure to/from a binary string?

Andrew Lentvorski bsder at allcaps.org
Sat Aug 2 08:35:20 CEST 2008


Basically, I'd like to use the ctypes module as a much more descriptive 
"struct" module.

Is there a way to take a ctypes.Structure-based class and convert it 
to/from a binary string?

Thanks,
-a



More information about the Python-list mailing list