array.len python code example Example 1: python array length len(my_array) Example 2: find array length in python a=arr.array('d', [1.1 , 2.1 ,3.1] ) len(a)