pycharm Tools
I am using configparser When the module , Repeated contents often appear after read / write operations ,
conf = configparser.ConfigParser()conf.read(iniPath, encoding="utf-8")temp.append(conf.get("urls", "webitemurl"))
Sometimes there will be :
[urls]webitemurl = http://# Here are the extra parts url = l
DuplicateOptionError While reading from 'settings/setting.ini' [line 150]: option 'webitemurl' in section 'urls' already exists
Is there anyone who can help me answer ?