array — Sequence of Fixed-type Data — PyMOTW 3
Originally posted
· 1 min read
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.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.