On 14/03/14 10:20, David Crisp wrote:
I am having a little problems with dicts returning data not alwyas in the same order depending on how long they are:

yup, associative arrays , (in awk), dicts in python , and the perl version of them are all like this, you can't specify the order in which the contents are output.

There is an OrderedDict (http://docs.python.org/2/library/collections.html#collections.OrderedDict)
if insertion order is important to you.
_______________________________________________
melbourne-pug mailing list
[email protected]
https://mail.python.org/mailman/listinfo/melbourne-pug

Reply via email to