array

Stdlib — DataPython 2.0+Intermediate

Efficient arrays of numeric values; more compact than lists

Quick Info

Documentation
Official Docs
Python Version
2.0+
Dependencies
None — Python Standard Library
Install
Included with Python

Learn by Difficulty

Quick Example

python
import array

print(f"Module: array")
print(f"Contents: {dir(array)[:10]}")

The array module is part of Python's standard library. Efficient arrays of numeric values; more compact than lists.

Try in Playground

Tags

stdlibdata-structure