"Matt Hammond" <[EMAIL PROTECTED]> writes: > Hmmm, rereading, I think you're right ... and I think I'm confused too :-)
You both are. > Attempt #2: > > yz = [ (y1.x - y2.x) for (y1,y2) in zip(y[:-1], y[1:]) ] > > Frankly, a for loop with an index would probably be easier to read :) Me too, would that be what I already had? -- Brian (remove the sport for mail) http://www.et.web.mek.dtu.dk/Staff/be/be.html http://www.rugbyklubben-speed.dk -- http://mail.python.org/mailman/listinfo/python-list