参照博客 http://www.cnblogs.com/TankXiao/p/3038350.html
配置文件格式:
[section1] name = tank age = 28 [section2] ip = 192.168.1.1 port = 8080
conf = ConfigParser.ConfigParser()
conf.read('abc.ini')
conf.get('section1', 'name')
conf.set('section1', 'xxxx', [1, 2, 3])
conf.write(open('abc.ini'))