If you use numarray, you *can* write c = a-b >>> import numarray >>> a = numarray.array([1,2,3]) >>> b = numarray.array([5,0,2]) >>> c = a-b >>> c array([-4, 2, 1])
numarray is packaged separately from Python. http://www.stsci.edu/resources/software_hardware/numarray Jeff
pgp25gtINPiqa.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list