Given a bunch of arrays, if I want to create tuples, there is zip(arrays). What if I want to do the opposite: break a tuple up and append the values to given arrays: map(append, arrays, tupl) except there is no unbound append() (List.append() does not exist, right?).
Without append(), I am forced to write a (slow) explicit loop: for (a, v) in zip(arrays, tupl): a.append(v) I assume using an index variable instead wouldn't be much faster. Is there a better solution? Thanks, igor -- http://mail.python.org/mailman/listinfo/python-list