I want to read a ".ini" configuration file and create a dictionary using the content of the file.
E.g., my configuration file has the following data. I want to create two dictionaries - one using param1 and another using param2. Is there any Python library to parse such a configuration file?
[param1]
apple=12
mango=23
orange=34
grape=45
[param2]
fish=123
chicken=423
rice=54