general ConfigParser question

Rita rmorgan466 at gmail.com
Tue Nov 26 00:32:38 CET 2013


Hi,

I was wondering if the default ConfigParser can handle multi line strings
(especially in the relate section)

For example, if i have system.ini

[Global]
memory = 1024

[Process A]
command = sleep
arguments = 100

[Process B]
command = nslookup
arguments = hostA
output = data

[Process C]
command = checksum
arguments = data

[Relate]
data="parent process A child process B
Parent process B child process C
"


--- Get your facts first, then you can distort them as you please.--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20131125/a3390bd4/attachment.html>


More information about the Python-list mailing list