array
array — Efficient arrays of numeric values
This module defines an object type which can compactly represent an array of basic values: characters, integers, floating point numbers. Arrays are sequence types and behave very much like lists, except that the type of objects stored in them is constrained. The type is specified at object creation time by using a type code, which is a single character. The following type codes are defined:
Type code | C Type | Python Type | Minimum size in bytes | Notes |
---|---|---|---|---|
'b' | signed char | int | 1 | |
'B' | unsigned char | int | 1 |