Hi David,

thanks for your reply.

2007/10/29, Lyu Abe <[EMAIL PROTECTED]>:
I'm currently using this code to sort the question or tags lists...

You want to sort tag list by label name, right?

No, I just want to order the questions tags by their 'q_id' (to match the question list sorting). But the .sort(lambda...) does not seem to work, because the list is a list of dictionnaries (if I got it right):

tag_labels=[{'var1':8,'var2':'hello'},{'var1':2,'var2':'avec du lait'}]

Any straightforward solution to this?

        Lyu


_______________________________________________
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev

Répondre à