slicing, mapping types, ellipsis etc.

Jerry Sievers jerry at jerrysievers.com
Mon Nov 29 15:49:30 EST 2004


Fellow Pythonists;

I am totally puzzled on the use of slicing on mapping types and
especially unsure on use of the Ellipsis... and slicing syntax that
has two or more groups seperated by comma.

I am referring to (from the manual);

     Slice objects
                    Slice objects are used to represent slices when extended
          slice syntax is used. This is a slice using two colons, or multiple
          slices or ellipses separated by commas, e.g., a[i:j:step], a[i:j,
          k:l], or a[..., i:j]. They are also created by the built-in slice()
          function.

A quick example on how this is used and/or pointer to more reading is
greatly appreciated.

Thanks


-- 
-------------------------------------------------------------------------------
Jerry Sievers   305 854-3001 (home)     WWW ECommerce Consultant
                305 321-1144 (mobile	http://www.JerrySievers.com/



More information about the Python-list mailing list