ConfigParser.InterpolationSyntaxError: '%' must be followed by '%' or '(', found: "%&'" 解决方案
解决方案
换一种方式进行读取配置文件
原本代码:cf= configparser.ConfigParser()
替换成:
cf = configparser.RawConfigParser()
但行好事,莫问前程
换一种方式进行读取配置文件
原本代码:cf= configparser.ConfigParser()
替换成:
cf = configparser.RawConfigParser()