Er, that should have been mylist.sort(key = lambda d:
d['title'].lower())  of course.


Thanks a lot for the tip, chris.
Unfortunately, I only have Python 2.3.5 installed and can't upgrade to 2.4 due to an underliying application server.

In python 2.3 the 'sort()' function does not excepts any keywords arguments (TypeError: sort() takes no keyword arguments), so is there a workaround?

Regards
Nico
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to