Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.088 X-Spam-Evidence: '*H*': 0.83; '*S*': 0.01; 'none):': 0.09; 'received:209.85.214.174': 0.13; 'cc:addr:python-list': 0.15; 'wrote:': 0.16; 'cc:no real name:2**0': 0.21; 'subject:list': 0.21; 'header:In-Reply-To:1': 0.22; 'cc:2**0': 0.25; 'import': 0.27; 'message-id:@mail.gmail.com': 0.28; 'example': 0.28; 'cc:addr:python.org': 0.29; 'received:209.85.214': 0.32; 'received:google.com': 0.37; 'received:209.85': 0.38; 'should': 0.38; 'subject:from': 0.39; 'received:209': 0.39; 'subject:: ': 0.39; 'otten': 0.84; 'subject:2nd': 0.84; 'subject:huge': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=1Y79+xp9SQG4NqFgwrbtAF23IOqqGIPAM0MGkxdxD5M=; b=BXgzx7njgOwl9lS2f3eHYLB5GuuM9mzbiDKbiIEWoASBqdQBfnBJInaVAWBG4lomwL Jdxbh/zb30Yt0uMR5xvPsVgWfHMpbQQLr0WZO+18PKLMcBrIPeArh+Q0+ENvjRkHueIt KTFXyEHhUDOT7XB09ZdJ29k5ggJFlFfgFmdEU= MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 1 Feb 2012 10:54:56 +0000 Subject: Re: Iterate from 2nd element of a huge list From: Arnaud Delobelle To: Peter Otten <__peter__@web.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1328093699 news.xs4all.nl 6971 [2001:888:2000:d::a6]:56043 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:19704 On 1 February 2012 08:11, Peter Otten <__peter__@web.de> wrote: > Arnaud Delobelle wrote: > The example should be > >> from itertools import islice: > > for el in islice(mylist, 1, None): >> =C2=A0 =C2=A0 process2(el) Oops! --=20 Arnaud