What's your choice when handle complicated C structures.

一首诗 newptcai at gmail.com
Tue Nov 4 19:52:17 EST 2008


Hi all,

Recently I am writing a small network application with python.

The protocol is binary based and defined in c header files.

Now I'm using the upack function of 'struct' module, but it's really
annoying to write fmt strings for complicated structures.

What will be your choice when handling binary structures?



More information about the Python-list mailing list