On 05-04-2010 19:23, Robert Kern wrote:
On 2010-04-05 12:17 PM, Stef Mientki wrote:
hello,
AFAIK there's no case insensitive list in Python.
By case insentive I mean that that sort and memebr of is case
insensitive.
Does soeone has a implementation of sucha case insensitive list
hello,
AFAIK there's no case insensitive list in Python.
By case insentive I mean that that sort and memebr of is case insensitive.
Does soeone has a implementation of sucha case insensitive list ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
On 2010-04-05 12:17 PM, Stef Mientki wrote:
hello,
AFAIK there's no case insensitive list in Python.
By case insentive I mean that that sort and memebr of is case insensitive.
Does soeone has a implementation of sucha case insensitive list ?
mylist.sort(key=lambda x: x.lower())
any(x.lower