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


Groups > comp.lang.python.announce > #722

ConfigParser argparse integration module

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!ecngs!feeder.ecngs.de!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <swamidass@gmail.com>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.032
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'url:pypi': 0.03; 'parsing': 0.07; 'seemed': 0.07; 'received:mail- vc0-f174.google.com': 0.09; 'subject:module': 0.09; 'subject:argparse': 0.16; 'subject:integration': 0.16; 'url:edu': 0.18; 'requests': 0.18; 'module': 0.19; "i'd": 0.22; 'header:In- Reply-To:1': 0.25; 'wrote': 0.26; 'thanks!': 0.26; 'message- id:@mail.gmail.com': 0.27; 'received:209.85.220.174': 0.29; 'this.': 0.29; 'code': 0.31; 'url:python': 0.32; 'file': 0.32; 'curious': 0.33; 'anyone': 0.33; 'received:google.com': 0.34; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'url:org': 0.36; 'useful': 0.36; 'received:209': 0.37; 'several': 0.39; 'to:addr:python.org': 0.39; 'hello,': 0.39; 'header:Received:5': 0.40; 'enable': 0.60; 'here:': 0.62; 'to:addr :python-announce-list': 0.65; 'header:Reply-To:1': 0.68; 'reply- to:no real name:2**0': 0.72; 'reply-to:addr:gmail.com': 0.79; 'ini': 0.84; 'approach.': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=7mJcdr3U876gL1wqgLTO0g5k9oQ0wbSDqN7/WZ+hU3A=; b=B35bWocqUKZFQwLxeorRh2uRvksTT3hwYMU75sRLJPqF+SJj/d8i6byzOtjO/AEmIP Wls/9FU8wHLJsGh58WP9/BQXnqQpTIg8AMjG+PESgm9gaGAlPfy1vImGqVysgnBsvssw 3LTDNN/0+ecvnMDG3v4KZi9VDBXFaznOJm19aMBjECdvVv0IF0YBFzvFxXSLSAuAnSa8 PysGFzF3uaKl+EFWrWEpXHT8ecCGhjbY/yiMohCAWHG2QpEeI/uXICFPR4rqygKbd/5Q 8y7DbvZ5Z5wACH4hTMIDXXIFpVzYe+pZvi2KNFMIkkUNdpSVrUKgU+9XGJomYgPFK27l 4Aeg==
MIME-Version 1.0
In-Reply-To <CAJzP+m+bbtRO2Hi_cRJWxvH2c7pMPdfuhvzDM7=CMOeyyE=42Q@mail.gmail.com>
References <CAJzP+m+bbtRO2Hi_cRJWxvH2c7pMPdfuhvzDM7=CMOeyyE=42Q@mail.gmail.com>
From S Joshua Swamidass <swamidass@gmail.com>
Date Sat, 13 Oct 2012 17:57:05 +0900
Subject ConfigParser argparse integration module
To python-announce-list@python.org
X-Mailman-Approved-At Sat, 13 Oct 2012 15:28:44 +0200
Content-Type text/plain; charset=ISO-8859-1
X-Content-Filtered-By Mailman/MimeDel 2.1.15
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To python-list@python.org, swamidass@gmail.com
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.2112.1350134925.27098.python-announce-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1350134925 news.xs4all.nl 6867 [2001:888:2000:d::a6]:38440
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:722

Show key headers only | View raw


Hello,

It seemed like there were several requests to enable ini file parsing with
argparse. I wrote module to do this.

I'd be curious to know if this is useful and anyone has a better approach.
See the code here:

http://pypi.python.org/pypi/ConfArgParse

Thanks!

S Joshua Swamidass
http://swami.wustl.edu/

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


Thread

ConfigParser argparse integration module S Joshua Swamidass <swamidass@gmail.com> - 2012-10-13 17:57 +0900

csiph-web