Joris De Ridder wrote:
> numpy.diff
> See http://www.scipy.org/Numpy_Example_List
Cool :-)
Both this and Hoyt's example do exactly what I want.
I'm guessing diff is going to be more efficient though?
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk