"Rakesh" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> This gets a list sorted by the keys.

That is all you *can* get (with the list keys being the dict values).

> How would I get a revised dictionary sorted by its values.

You can't.  A dictionary is not sorted.  The print order is arbitrary and 
not controllable.

Terry J. Reedy



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to