can ConfigParser deal with repeating section header?

John Zhao johnzzhao at gmail.com
Thu Nov 12 10:47:55 EST 2015


I have a configuration file with repeating sections, for example, 

[INSTANCE]
Name=a

[INSTANCE]
Name=b


I hope I can use ConfigParser to read the file and store the configuration settings in arrays.  

Is that possible?

Thanks a lot.

John



More information about the Python-list mailing list