feature request: a better str.endswith

John J. Lee jjl at pobox.com
Sat Jul 19 15:53:30 CEST 2003


Bob Gailer <bgailer at alum.rpi.edu> writes:
[...]
> In APL one can specify indexes for the various dimensions of an
> array. If B is a rank 2 array, B[1 2;3 4] retrieves columns 3 and 4 of
> rows 1 and 2. WIBNI one could in a similar way drill into a nested
> list. I know the various importable array modules do some of these
> tings, but they are limited to homogeneous data.

Numeric isn't, and I presume numarray isn't, either.

typecode 'O' in Numeric, IIRC.


John




More information about the Python-list mailing list