[SciPy-User] [SciPy-user] find_objects() even slice dimensions

Gael Varoquaux gael.varoquaux@normalesup....
Tue Feb 21 08:37:26 CST 2012

On Tue, Feb 21, 2012 at 05:44:57AM -0800, SiggiN wrote:
> Or is there a easy way to manipulate the slices? The only thing I was able
> to do was simple string manipulation.

Slices are standard Python object. They can be instanciatated using
'slice(start, stop, step)' and start, stop, step can be accessed as
attributes of these objects.




More information about the SciPy-User mailing list