py> [1,2,3] + (4,5) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: can only concatenate list (not "tuple") to list
In-place addition += does work: py> a = [1,2,3] py> a += (4,5) py> a [1, 2, 3, 4, 5] -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list