On Fri, 22 Jan 2010 13:17:44 +0100, Gilles Ganault <nos...@nospam.com> wrote: >I see that dictionaries can be sorted using the... sort() method, but >is it possible to have Python start sorting from a different letter?
Looks like the solution is to read the list of keys into a list, sort the list, and then use this to read the dictionary: http://code.activestate.com/recipes/52306/ But I haven't found whether a list can be sorted by starting from a given letter instead of "a". -- http://mail.python.org/mailman/listinfo/python-list