flist = cp.get("formatters", "keys")
File "/usr/lib64/python2.7/ConfigParser.py", line 607, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'formatters'
[formatters]
keys=simpleFormatter
File "/usr/lib64/python2.7/ConfigParser.py", line 607, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'formatters'
[formatters]
keys=simpleFormatter
2018-02-26
python3中,string.letters应该改为string.ascii_letters,具体使用时,输入string.之后按table键查看可用的属性和方法;
2018-01-14