[Tutor] Read dictionary data in a specific order...

Trey Keown trey at opmstech.org
Sat Aug 25 00:11:06 CEST 2007


Hello.
I would like to know, how can I read (or sort) a dictionary in a certain
order?
say this is my dictionary-
attrs={u'title': u'example window title', u'name': u'SELF', u'icon':
u'e.ico'}
how could I get the data so that u'name' is read first, u'title' second,
and u'icon' third?
thanks so much for any help-
Trey



More information about the Tutor mailing list