ConfigParser and $'s in the options

HariNam Singh hsingh at elite.com
Thu Sep 13 00:15:31 CEST 2001


Hi,

I'm pretty new to Python (Java background). It's a pretty cool language so
far. I was happy to find that there is already code that handles dealing
with configuration files: ConfigParser.

Though, I run into an issue with it. It refuses to parse configuration files
that have $ - signs in the option names. As I'm working on a 3rd party app,
which I don't have the source code for, I'll have to use the $ signs in the
option names. Is there a way to make ConfigParser do that, without changing
the code?


Thanks for your tips,
HariNam Singh




More information about the Python-list mailing list