Using the structure module in python for serialization and deserialization.
.. literalinclude:: ../../languages/python/design_struct_example.py :language: python :tab-width: 4
.. runcode:: ../../languages/python/design_struct_example.py :language: python :codesite: ideone
.. seealso:: * :python-suggest-improve:`design_struct_example.py` * :python-better-explain:`design_struct_example.rst`