Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #60466

general ConfigParser question

Date 2013-11-25 18:32 -0500
Subject general ConfigParser question
From Rita <rmorgan466@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3203.1385422362.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.--

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

general ConfigParser question Rita <rmorgan466@gmail.com> - 2013-11-25 18:32 -0500

csiph-web