Iterate from 2nd element of a huge list

Arnaud Delobelle arnodel at gmail.com
Wed Feb 1 05:54:56 EST 2012


On 1 February 2012 08:11, Peter Otten <__peter__ at web.de> wrote:
> Arnaud Delobelle wrote:
> The example should be
>
>> from itertools import islice:
>
> for el in islice(mylist, 1, None):
>>     process2(el)

Oops!

-- 
Arnaud



More information about the Python-list mailing list