Issue with reading and writing into .ini files using python

tarun tarundevnani at
Thu Nov 22 07:45:05 CET 2007


I am using config approach as mentioned in the below link to read and write
into setup (.ini) files:

I've a key named 'SELECTED' in my .ini file.

Sometimes I get the following error on trying to read the .ini file:    val
= dict.__getitem__(self, key)
    KeyError: 'SELECTED'

Can anyone help.

Thanks in advance

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list