help: ConfigParser.optionxform

Vivek Sawant vivek-remove- at
Mon Mar 3 20:57:36 CET 2003

Can someone please help me figure out how to use the 'optionxform' 
method for ConfigParser Class?

 From the documentation, it sounds like this method is supposed to allow 
me to change the default behavior of returning an 'all lower case' 
option name. For example, I want to make it so that the option name 
returned is exactly as it appears in the input file. I have no clue how 
to actually achieve this. I googled to find examples of usage of this 
method. No luck.

Any help is greatly appreciated.


More information about the Python-list mailing list