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


Groups > comp.lang.python > #40602

Re: Config & ConfigParser

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.043
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'used.': 0.07; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'simplest': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'config': 0.17; 'code.': 0.20; 'changes': 0.20; 'header:In-Reply-To:1': 0.25; 'guess': 0.27; 'question': 0.27; 'message-id:@mail.gmail.com': 0.27; 'run': 0.28; 'behaviour': 0.29; 'helpful': 0.30; 'code': 0.31; '(and': 0.32; 'file': 0.32; 'getting': 0.33; 'to:addr :python-list': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'formats': 0.35; 'pm,': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'different': 0.63; 'more': 0.63; 'subject: & ': 0.67; '2013': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=WPG6IBC/ICnHPaOiEcnSSzSohaY02IeAtrog9e+j1EI=; b=VHt93vF2j8jKYzcZEsg6+T2zEN6IoUk87VQ7U5Oe6r3bGYd024jqyelL4AOR3iaTYt BRHH2rFhkMPYVJ+Zr8TGfKPTRsnq95BUlrTTYUSn4kah9BomSV/7Szs4mj5LvvNj+Y/D cScHaogmgRSPfZRkaAut/kTNTr6SsNC2IjTR3GY5Ko1D3LXXDsfwyfVsAtXLbPvqeUYt JhUWBB3iuVT0EY7FzPfnEQTRWWZMUtDFW39KZHNhJNmO2IyVtlEajph7O3jCcElafMi/ 2PpnP4k4zYOCKFHSKYw9IlFMbWhxYsnomV54D8axSH+przh+bn/CJswCT57o5I8xouzE zQ2g==
MIME-Version 1.0
X-Received by 10.52.88.197 with SMTP id bi5mr9302898vdb.58.1362543593405; Tue, 05 Mar 2013 20:19:53 -0800 (PST)
In-Reply-To <78a2e6bc-e37a-4016-9aba-73561f204986@googlegroups.com>
References <61520ad1-9e3c-4eec-b1d9-8a9d8fc7bf0c@googlegroups.com> <5136b87c$0$30001$c3e8da3$5496439d@news.astraweb.com> <78a2e6bc-e37a-4016-9aba-73561f204986@googlegroups.com>
Date Wed, 6 Mar 2013 15:19:53 +1100
Subject Re: Config & ConfigParser
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2923.1362543601.2939.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1362543601 news.xs4all.nl 6845 [2001:888:2000:d::a6]:34333
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:40602

Show key headers only | View raw


On Wed, Mar 6, 2013 at 3:07 PM, Chuck <galois271@gmail.com> wrote:
> I guess my question was more what is a config.file & why/how do I use one.
> Thanks

In its simplest form, a config file is one way to change a program's
behaviour without editing the code. They're helpful when you want to
be able to run the same program in different ways, or when you want to
let someone else change what the program does without having to edit
code (and without the changes getting overwritten by a program
update). There are innumerable file formats that can be used.

ChrisA

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


Thread

Config & ConfigParser Chuck <galois271@gmail.com> - 2013-03-05 12:09 -0800
  Re: Config & ConfigParser Tim Chase <python.list@tim.thechases.com> - 2013-03-05 15:17 -0600
    Re: Config & ConfigParser Chuck <galois271@gmail.com> - 2013-03-05 15:58 -0800
      Re: Config & ConfigParser Tim Chase <python.list@tim.thechases.com> - 2013-03-05 18:15 -0600
        Re: Config & ConfigParser Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-06 04:04 +0000
  Re: Config & ConfigParser Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-06 03:31 +0000
    Re: Config & ConfigParser Chris Angelico <rosuav@gmail.com> - 2013-03-06 15:05 +1100
      Re: Config & ConfigParser Neil Cerutti <neilc@norwich.edu> - 2013-03-07 16:18 +0000
    Re: Config & ConfigParser Chuck <galois271@gmail.com> - 2013-03-05 20:07 -0800
      Re: Config & ConfigParser Chris Angelico <rosuav@gmail.com> - 2013-03-06 15:19 +1100
        Re: Config & ConfigParser Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-06 04:54 +0000
          Re: Config & ConfigParser Chris Angelico <rosuav@gmail.com> - 2013-03-06 17:09 +1100

csiph-web