[Tutor] Dict

Danny Yoo dyoo at hashcollision.org
Tue Nov 26 20:45:23 CET 2013


>
> Is it possible to sort dict & to get result as dict?
> if it is possible, please give some example.
>


Just to understand the question more, can you give more details?  Why would
you want a sorted dict?

That is, it is not directly obvious what your intent is yet, so you need to
say more.  Are you thinking of something similar to how human language
dictionary entries are traditionally sorted lexicographically, or do you
mean something else?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20131126/7d44693d/attachment.html>


More information about the Tutor mailing list