I have Db.ini files and i want to read and write the file as a section using python's configparser.Can anyone explain me how to read and write the config file as a section using configparser?
Db.ini
[mysql]
host = localhost
user = user7
passwd = s$cret
db = ydb
[postgresql]
host = localhost
user = user8
passwd = mypwd$7
db = testdb