Skip to content Skip to sidebar Skip to footer

Config Parser: Choosing Name And Value Delimiter

Let's say I have one test.ini file with the following lines: [A] name1 [0,1]=0 name2 a:b:c / A:B:C [0,1]=1 When I parse it like this: A = ConfigParser.ConfigParser() with codecs.o

Solution 1:

Problem solved by skipping to Python 3.3 and: A = configparser.ConfigParser(delimiters=('='))


Post a Comment for "Config Parser: Choosing Name And Value Delimiter"