On Thursday, November 12, 2015 at 10:48:11 AM UTC-5, John Zhao wrote: > 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
Here is one of possible solutions: http://stackoverflow.com/questions/9876059/parsing-configure-file-with-same-section-name-in-python -- https://mail.python.org/mailman/listinfo/python-list