[portland] Sorting A List of Tuples
Rich Shepard
rshepard at appl-ecosys.com
Thu Nov 8 20:44:48 CET 2007
On Thu, 8 Nov 2007, kirby urner wrote:
> Again, the 'key' argument helps get around the need for DSU in many cases:
Yes. Importing itemgetter from operator, and using sorted() followed by
.reverse() the results are what are needed in the report.
Thanks,
Rich
--
Richard B. Shepard, Ph.D. | Integrity Credibility
Applied Ecosystem Services, Inc. | Innovation
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863
More information about the Portland
mailing list