(from stdlib-sig) ctypes or struct from an h file
ubershmekel at gmail.com
Sun Oct 18 22:20:50 CEST 2009
I'd like to clarify the use case.
Lets say you're writing a client and a server, one is in python and
the other is C. If these 2 programs need to pass binary information
between them (lets say over a socket) there are 2 options, it could be
nice if you could only write the struct once (either in python or in
C) without any Cython or C extension (for portability and ease of
Just trying to keep it DRY...
More information about the Python-list