Steven D'Aprano <st...@remove-this-cybersource.com.au> writes:

> I'm sympathetic to your request for list views. I've often wanted some 
> way to cleanly and neatly do this:
>
> for item in seq[1:]:
>     process(item)
>
> without making an unnecessary copy of almost all of seq.
>

I don't know how it's implemented - but presumably itertools.islice
could provide what you're asking for?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to