Slicing with negative strides

Martin Manns mmanns at gmx.net
Mon Nov 4 00:15:40 CET 2013


On 29 Oct 2013 05:22:00 GMT
Steven D'Aprano <steve at pearwood.info> wrote:

> Does anyone here use slices (or range/xrange) with negative strides
> other than -1?

I have used negative strides for comparing discrete sequences e. g. for
turbulence analysis, and I hope that my code will still run in Python 4.

Martin



More information about the Python-list mailing list