On Fri, Jan 2, 2009 at 6:12 PM, Sander Sweers <sander.swe...@gmail.com> wrote:
> Hello All,
>
> While trying to inderstand Kent's script [1] I struggle on the use of
> operator.itemgetter(1) from the following piece of code. I understand
> it makes it sort on the second value of the counts.iteritems but I do
> not understand how  operator.itemgetter(1) works.

See
http://personalpages.tds.net/~kent37/kk/00007.html#e7the-operator-module

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to