slicing return iter?
Arnaud Delobelle
arnodel at googlemail.com
Sat Oct 17 14:11:48 EDT 2009
More information about the Python-list mailing list
Sat Oct 17 14:11:48 EDT 2009
- Previous message (by thread): slicing return iter?
- Next message (by thread): slicing return iter?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Oct 17, 6:05 pm, StarWing <weasley... at sina.com> wrote: > On 10月17日, 下午11时56分, Arnaud Delobelle <arno... at googlemail.com> wrote: > > thanks for attention :-) > > > Check the itertools module. > > > HTH > > > -- > > Arnaud > > I had checked it for serval times. maybe it's my inattention :-(. but > what i could find the nearest thing is itertools.islice. but it can't > process negative index -- that's supported by slice. so I need > something, bind object with slice, and return a iter. I can find > anything like it...:-( Sorry, I read your post too quickly. I don't think there's anything in the standard library. Your solution is fine! -- Arnaud
- Previous message (by thread): slicing return iter?
- Next message (by thread): slicing return iter?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list