[portland] Iterating Through Tuples In A List

jason kirtland jek at discorporate.us
Mon Feb 18 17:28:57 CET 2008


Rich Shepard wrote:
> On Fri, 15 Feb 2008, jason kirtland wrote:
> 
>> the groupby function in itertools is one way:
> 
>    The on-line library docs are quite terse. Has anyone written a python book
> (paper or on-line) that provides more details and commented examples of the
> itertools? I'd certainly understand better with more discussion of
> appropriate applications for each tool and multiple examples.

itertools was featured as Python Module of the Week a while back:

   http://www.doughellmann.com/projects/PyMOTW/

I haven't looked at the itertools one in particular but I've found other 
other PyMOTW features to be quite good.


More information about the Portland mailing list