On 20 jul, 18:50, Alex Popescu <[EMAIL PROTECTED]> wrote: > If you just want to iterate over your dict in an ordered manner than all > you have to do is: > > for k in my_dict.keys().sort(): > # rest of the code
sort() returns None, so this code won't work either. -- Roberto Bonvallet -- http://mail.python.org/mailman/listinfo/python-list