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


Groups > comp.lang.python > #60466

general ConfigParser question

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rmorgan466@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.026
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'skip:[ 20': 0.04; 'output': 0.05; '(especially': 0.07; 'arguments': 0.09; 'facts': 0.09; 'subject:question': 0.10; 'command': 0.22; 'memory': 0.22; '---': 0.24; 'first,': 0.26; 'wondering': 0.29; 'message- id:@mail.gmail.com': 0.30; '&quot;': 0.31; 'received:google.com': 0.35; 'hi,': 0.36; 'example,': 0.37; 'handle': 0.38; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'skip:n 10': 0.64; 'default': 0.69; '100': 0.79; 'configparser': 0.84; 'relate': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=WQbHR85t2S/YvvBdSwaXMxDF6WejJbuMbzBK5vD0sP8=; b=rseCQdyEET9XAIK7FkZueUghJ7tmru8QYzksmK50Zb+7/9sAlwxvRuWw2yCuoJle8Z q1Y4Q9VC5KdeMQyhOMjzP4fnAyZm5g1WPtnL0/3Ds2DXba6NX2C95Zg5UUk8jp1ZnrMu TGh4ArH46Gf5mjJ9AplRelyUcJ/YhrgqfXr0/Sj2GqmP2trECmUrUq3SIQ2COqLuNIru esXVTV5mfjQl+lNrqRvdp4BRNlZWfEsaABMR5RaWe910G/hw+lTgC+TxoU/Wn+/9+IZ/ 4zrC6yiZHlauwEB0eXevE1umSamwyV6kFF3a6OIXF5LHjM7yL0Ehl9krivDedCF1E2at Ow6Q==
MIME-Version 1.0
X-Received by 10.68.103.163 with SMTP id fx3mr20685182pbb.59.1385422358481; Mon, 25 Nov 2013 15:32:38 -0800 (PST)
Date Mon, 25 Nov 2013 18:32:38 -0500
Subject general ConfigParser question
From Rita <rmorgan466@gmail.com>
To python-list@python.org
Content-Type multipart/alternative; boundary=047d7b67633a8a936f04ec08c73e
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3203.1385422362.18130.python-list@python.org> (permalink)
Lines 55
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1385422362 news.xs4all.nl 15868 [2001:888:2000:d::a6]:40332
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:60466

Show key headers only | 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