Re: [Tutor] embedding lists in configuration files

2006-10-12 Thread Alan Gauld
> Python program instead of hard-coded values. The configuration data > currently is in the form of a couple of lists and some triple-quoted > strings. > > I was looking at the ConfigParser module, but I cannot see how to > use > this format to represent lists or triple-quoted strings. Are there

Re: [Tutor] embedding lists in configuration files

2006-10-12 Thread Kent Johnson
William O'Higgins Witteman wrote: > I am looking for a way to use a plain text configuration file in a > Python program instead of hard-coded values. The configuration data > currently is in the form of a couple of lists and some triple-quoted > strings. > > I was looking at the ConfigParser modu

Re: [Tutor] embedding lists in configuration files

2006-10-12 Thread Luke Paireepinart
William O'Higgins Witteman wrote: > I am looking for a way to use a plain text configuration file in a > Python program instead of hard-coded values. The configuration data > currently is in the form of a couple of lists and some triple-quoted > strings. > > I was looking at the ConfigParser modul

[Tutor] embedding lists in configuration files

2006-10-12 Thread William O'Higgins Witteman
I am looking for a way to use a plain text configuration file in a Python program instead of hard-coded values. The configuration data currently is in the form of a couple of lists and some triple-quoted strings. I was looking at the ConfigParser module, but I cannot see how to use this format to