Re: A question regd configobj

2009-05-22 Thread Gabriel Genellina
En Thu, 21 May 2009 08:23:36 -0300, Srijayanth Sridhar escribió: I am wondering if it is possible to have hexadecimal strings in a ini file and have configobj parse it correctly. for eg: moonw...@trantor:~/python/config$ cat foo foo="\x96\x97" . . . a=ConfigObj("foo") a ConfigObj({'foo':

Re: A question regd configobj

2009-05-21 Thread Dave Angel
Srijayanth Sridhar wrote: Hello, I am wondering if it is possible to have hexadecimal strings in a ini file and have configobj parse it correctly. for eg: moonw...@trantor:~/python/config$ cat foo foo="\x96\x97" . . . a=ConfigObj("foo") a ConfigObj({'foo': '\\x96\\x97'}) a['fo

A question regd configobj

2009-05-21 Thread Srijayanth Sridhar
Hello, I am wondering if it is possible to have hexadecimal strings in a ini file and have configobj parse it correctly. for eg: moonw...@trantor:~/python/config$ cat foo foo="\x96\x97" . . . >>> a=ConfigObj("foo") >>> a ConfigObj({'foo': '\\x96\\x97'}) >>> a['foo'] '\\x96\\x97' As you can see t