Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!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.087 X-Spam-Evidence: '*H*': 0.85; '*S*': 0.03; 'be:': 0.16; 'length:': 0.16; 'subject:broken': 0.16; 'subject:make': 0.16; 'wrote:': 0.18; 'obviously': 0.18; 'header:In-Reply-To:1': 0.27; 'subject:list': 0.30; 'message-id:@mail.gmail.com': 0.30; 'to:name :python-list': 0.33; 'received:google.com': 0.35; 'should': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'july': 0.63; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=SRbROLvz9xnULQljnSt+TUlrOdhySTPEjkAKw4y3OOs=; b=a8NPtDZC0CMjxomnkycCrlAobRGzNjSnOKn6S+CxtM28di/wcHgzK8gvmRoXmWYXxs TrYZQGbomUbzA3vi0OYwYiqZBGb6AvXEO1fj9x1Ar33BB6CkkJhDjfaOGeNieyr3Xjsi 6AJe2h2yMqpl9n/fooVG92/VhUtlbHwX9Upi0LpnWo4ZhU9wzRJjL265ZW9pp71RoiPC o69yiTTGwz7Ci5gj99cND7jNbCLKlLB6UxGBS62zIsCCizHtZiKdP/M9dJa6j9izlLBK N2/Ygi/SXqoxsQVJD4rQVs2qTLJE8kfpbaB86YuaywTDz13LtjC4i/3y3cGyGnMH7iOx 7WSw== X-Received: by 10.152.4.232 with SMTP id n8mr11450085lan.29.1373318864973; Mon, 08 Jul 2013 14:27:44 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <9d0cd072-3cf7-4156-8e84-884faeef7048@googlegroups.com> From: Joshua Landau Date: Mon, 8 Jul 2013 22:27:04 +0100 Subject: Re: make sublists of a list broken at nth certain list items To: python-list Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 6 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373318866 news.xs4all.nl 15934 [2001:888:2000:d::a6]:49824 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50176 On 8 July 2013 22:24, Joshua Landau wrote: > if count == 60: Obviously this should be: if count == length: