Sorting distionary by value

Terry Reedy tejarex at yahoo.com
Sat Mar 23 17:57:13 EST 2002


"John Machin" <sjmachin at lexicon.net> wrote in message
news:c76ff6fc.0203231305.7eb20123 at posting.google.com...
> "Terry Reedy" <tejarex at yahoo.com> wrote in message
news:<A51n8.216264$uv5.18611282 at bin6.nnrp.aus1.giganews.com>...

> > or, I believe, change the last line to
> >      print counts[w], w
>
> The basis for whatever it is you believe apparently doesn't include
> running the code.

Whoops, I misread something and posted too quickly.  I normally do run
stuff before posting to avoid just this sort of mistake 8-(.





More information about the Python-list mailing list