Kent Johnson wrote: > dirs.sort(key=str.lower) # note no need for lambda
However, this will raise a TypeError for unicode directory names while the lambda continues to work. Peter -- http://mail.python.org/mailman/listinfo/python-list
Kent Johnson wrote: > dirs.sort(key=str.lower) # note no need for lambda
However, this will raise a TypeError for unicode directory names while the lambda continues to work. Peter -- http://mail.python.org/mailman/listinfo/python-list