A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-November/040400.html below:

[Python-Dev] Extending struct.unpack to produce nested tuples

[Python-Dev] Extending struct.unpack to produce nested tuples [Python-Dev] Extending struct.unpack to produce nested tuplesGreg Ewing greg at cosc.canterbury.ac.nz
Sun Nov 23 18:56:41 EST 2003
> Use Case:  I have a program written in C that contains a bunch of
> aggregate data structures (arrays of structs, structs containing
> arrays, etc.) and I'm transmitting these structures over a socket
> connection to a Python program that then unpacks the data using the
> struct module.

An alternative would be to teach the C program to write
the data in pickle or marshal format... :-)

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4