array — Sequence of Fixed-type Data — PyMOTW 3

The array module defines a sequence data structure that looks very much like a list , except that all of the members have to be of the same primitive type. The types supported are all numeric or other fixed-size primitive types such as bytes.

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.