On Sat, 2005-07-23 at 12:15 -0700, Robert Kern wrote: > Soeren Sonnenburg wrote: > > Hi all, > > > > Just having started with python, I feel that simple array operations '*' > > and '+' don't do multiplication/addition but instead extend/join an > > array: > > > > a=[1,2,3] > > This isn't an array. It is a list. If you want an array, use > Numeric/numarray. If you want lists, use lists. Lists will never grow > the kind of behavior you're asking for.
Sorry, but I still don't understand the reasons for that. Lists are infect arrays so why does it make sense to have another *array ? All that is missing is ufuncs and 'fixing' (as I see it) '+','*' ? Soeren
signature.asc
Description: This is a digitally signed message part
-- http://mail.python.org/mailman/listinfo/python-list