Parsing a conf file
news at titanic.co.uk
Thu Mar 6 00:26:31 CET 2003
The simple answers were perfect...
On 5 Mar 2003 21:09:30 GMT, Mike Dean <klaatu at evertek.net> wrote:
>On Wed, 05 Mar 2003 20:19:18 +0000 Simon Faulkner <news at titanic.co.uk> wrote:
>> Is there a simple / recommended way of parsing a setting from a conf
>Well, there's the shlex module, which provides a lexer for a shell-like
>syntax. It's a bit more heavyweight than the ConfigParser module, and
>requires some more work, but if you need a lot of flexibility, it should
>do the trick.
More information about the Python-list