I am utilizing ConfigParser to read the runtime setup of a script.
I might want to have the adaptability of not giving a part name (there are scripts that are sufficiently basic; they needn't bother with a 'section'). ConfigParser will toss a NoSectionError exception, and won't acknowledge the record.
How might I make ConfigParser essentially recover the (key, value) tuples of a config record without section names?
For instance:
key1=val1
key2:val2
I would prefer not to write to the config record.