struct — Binary Data Structures — PyMOTW 3

The struct module includes functions for converting between strings of bytes and native Python data types such as numbers and strings.

Read more…

This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.