Slicing / subsetting list in arbitrary fashion

Michael Spencer mahs at
Sat Nov 18 00:50:31 CET 2006

Gregg Lind wrote:
> I wish something like this was part of the standard python installation, 
> and didn't require one to use Numpy or Numarray.  This sort of list 
> subsetting is useful in many, many contexts. 
Many of numpy's multi-dimensional slicing and indexing operations are 
implemented (for list and array.array types) in pure python in my pyarray module:


More information about the Python-list mailing list