Issue with reading and writing into .ini files using python
tarun
tarundevnani at gmail.com
Thu Nov 22 01:45:05 EST 2007
Hello,
I am using config approach as mentioned in the below link to read and write
into setup (.ini) files:
http://www.voidspace.org.uk/python/configobj.html
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
Regards,
Tarun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20071122/5151aa3c/attachment.html>
More information about the Python-list
mailing list