Terrence Brannon, I suggest you to shorten a lot some of those very long lines.
> # http://code.activestate.com/recipes/278259/ > def sumDict(d): > return reduce(lambda x,y:x+y, d.values()) Not all recipes are good, and that looks bad in various ways. Try this: def sumDictValues(d): return sum(d.itervalues()) But probably it's better to inline that operation. Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list