Sort dictionary data

Dialtone dialtone#/N0SPAM/# at aruba.it
Tue May 21 07:49:08 EDT 2002


On 20 May 2002 15:54:24 -0700, d_blade8 at hotmail.com (Lemniscate) wrote:

>
>This way you can loop over them (you can get the illusion of sorting a
>dictionary by key by doing this with a list from myDict.keys(),
>sorting the list and then going through each one with a call to the
>values.  Anyways, have fun.

yup you're right... Sorry my mistake. I'm just learning python and I forgot
this... Need new reading :)
-- 
try: troll = "Brain"
except TypeError, data: 
   troll.plonk()
Co-Responsabile Hardware Information & Technology http://hit.edengames.net



More information about the Python-list mailing list