I am using ConfigParser to read the runtime configuration of a script.
ConfigParser
I would like to have the flexibility of not providing a section name (there are s
Blueicefield's answer mentioned configobj, but the original lib only supports Python 2. It now has a Python 3+ compatible port:
https://github.com/DiffSK/configobj
APIs haven't changed, see it's doc.