Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.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.080 X-Spam-Evidence: '*H*': 0.84; '*S*': 0.00; 'subject:into': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'inversion': 0.16; 'roy': 0.16; 'time.time()': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'thu,': 0.19; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'topic': 0.29; 'statement': 0.30; 'subject:list': 0.30; 'message- id:@mail.gmail.com': 0.30; 'subject:size': 0.31; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'received:google.com': 0.35; 'are,': 0.36; 'shows': 0.36; 'subject:?': 0.36; 'should': 0.36; 'received:209': 0.37; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; 'american': 0.66; 'mar': 0.68; 'smith': 0.68; 'article': 0.77; 'otten': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=fhunE16r8zRKawcZqcw7oMsqtabqDywvQ3T6kzmHO5Q=; b=zBoJfvOizp18LD7dDlesOnEKoCJZB4ISPNJ+lldSqHxhjGzU50Vf/LRG1NXFKwZ0Cp Obl2j36At7jGjfZnFRvFs/shH+XMAYadAY7o5ME120JjCaUTAblUdk6PDBFTSZVYh88v 7XsGjqgMmJFVQrFgHGsZYF2AjfqYVtxJ4ZqiAocxus55zXwtj/jYmSiBHj8NRIuBqk7t TBhUoKrGwol74v8RxZ7EHSKImG89lxk88jjmI8PgpJb9/MXMrNWX/NRqfi/ROyE5AhGl 682iVz52D1GXPIseG2P+q5Df1Kt7Zl00SULB77CAYFD0KS7yrQrapJHMT5EwpORMYVXB G6JQ== MIME-Version: 1.0 X-Received: by 10.52.111.130 with SMTP id ii2mr10670413vdb.111.1364429708189; Wed, 27 Mar 2013 17:15:08 -0700 (PDT) In-Reply-To: References: Date: Thu, 28 Mar 2013 11:15:08 +1100 Subject: Re: Splitting a list into even size chunks in python? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1364429710 news.xs4all.nl 6906 [2001:888:2000:d::a6]:42785 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:42050 On Thu, Mar 28, 2013 at 10:42 AM, Roy Smith wrote: > In article , > Chris Angelico wrote: > >> On Wed, Mar 27, 2013 at 11:51 PM, Roy Smith wrote: >> > In article , >> > Peter Otten <__peter__@web.de> wrote: >> > >> >> Look again, for the grouper() recipe. >> > >> > Grouper() is good tty.cooked() with just a little time.time() and >> > crypt.salt() >> >> Huh, an inversion of http://xkcd.com/282/ >> >> ChrisA > > Thyme is an herb, not a spice. Randall should know better. And in case this wasn't off topic enough already... That statement shows that you are, almost certainly, American - out here, I would say instead that thyme is a herb. ChrisA