On Dec 8, 10:32 am, RedBaron <dheeraj.gup...@gmail.com> wrote:
> Is there any way by which configParser's get() function can be made
> case insensitive?

I would probably subclass dict to create a string specific, case
insensitive version, and supply it as the dict_type. See
http://docs.python.org/library/configparser.html#ConfigParser.RawConfigParser

That way your values would remain cased correctly, but lookups would
be insensitive.

hth

Jon.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to