Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #42050

Re: Splitting a list into even size chunks in python?

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 <rosuav@gmail.com>
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 <roy-4B6711.19423627032013@70-1-84-166.pools.spcsdns.net>
References <abcd1234abc123ab12a0000000208000020000001052@gmail.com> <mailman.3796.1364372856.2939.python-list@python.org> <roy-6AE143.08513627032013@70-1-84-166.pools.spcsdns.net> <mailman.3809.1364389191.2939.python-list@python.org> <roy-4B6711.19423627032013@70-1-84-166.pools.spcsdns.net>
Date Thu, 28 Mar 2013 11:15:08 +1100
Subject Re: Splitting a list into even size chunks in python?
From Chris Angelico <rosuav@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3832.1364429710.2939.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Thu, Mar 28, 2013 at 10:42 AM, Roy Smith <roy@panix.com> wrote:
> In article <mailman.3809.1364389191.2939.python-list@python.org>,
>  Chris Angelico <rosuav@gmail.com> wrote:
>
>> On Wed, Mar 27, 2013 at 11:51 PM, Roy Smith <roy@panix.com> wrote:
>> > In article <mailman.3796.1364372856.2939.python-list@python.org>,
>> >  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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Splitting a list into even size chunks in python? Peter Otten <__peter__@web.de> - 2013-03-27 09:27 +0100
  Re: Splitting a list into even size chunks in python? Roy Smith <roy@panix.com> - 2013-03-27 08:51 -0400
    Re: Splitting a list into even size chunks in python? Chris Angelico <rosuav@gmail.com> - 2013-03-27 23:59 +1100
      Re: Splitting a list into even size chunks in python? Roy Smith <roy@panix.com> - 2013-03-27 19:42 -0400
        Re: Splitting a list into even size chunks in python? Chris Angelico <rosuav@gmail.com> - 2013-03-28 11:15 +1100

csiph-web