On 11/23/2010 10:55 PM, Garland Fulton wrote:
Is there a way I can define an Array of and unknown size so I can add
and remove to or from it?

Do you mean the arrays of the array module, or NumPy arrays, or something else entirely? In the first case, yes; arrays behave more or less like lists, but more efficiently and with type constraints. In the second case, I believe you have to explicitly resize the array in order to add new elements to it.

Are arrays immutable?

No in either case.

Cheers,
Ian

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to