[Tutor] Kent's top poster script operator.itemgetter()

Kent Johnson kent37 at tds.net
Sat Jan 3 05:15:18 CET 2009

On Fri, Jan 2, 2009 at 6:12 PM, Sander Sweers <sander.sweers at 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.



More information about the Tutor mailing list