Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #72338
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ian.g.kelly@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.015 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'modify': 0.07; 'optparse': 0.09; 'subject:parsing': 0.09; 'python': 0.11; 'already,': 0.16; 'deprecated.': 0.16; 'wrote:': 0.18; 'possible,': 0.19; 'email addr:gmail.com>': 0.22; 'instead.': 0.24; 'question': 0.24; '>': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'cases': 0.33; "i'd": 0.34; 'but': 0.35; 'received:google.com': 0.35; 'should': 0.36; 'two': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; '30,': 0.65; 'world': 0.66 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=8sX0RoB6pWdiC8P3c6NVHol5L/9c4ctR+6J3OCssaFA=; b=mPqWdOil+6z/ir7nluRBCCuGHG0cz3RJl4DzkjQuqD3bUhqn5or0h5cG8gqSNXKkvs HZBvxbDvcl+yIKbFOQaute8gBDRy2luw9PXg4w55/g5d43R9paYMFIxc7raB+Q25WZBc dcELKf5Q8BmVSezruCZ52gjl8n5fookbx6beYJHlZ8d/lBoPXpZH8LDeJ588zzCnq9Bw jwlpHsIqmgzk0CN2ptmecmFWJxJcgtfIHYAsWIMq4QQIcFS/4iNDRTi4xhfcSr6VwCLq XdUkz5u1i54l7X5+ANmsrc6z/N5wxhgOdO02fmMd7Y/YbCuzGrwa4wncYs/ntn5W/OhJ S0Rg== |
| MIME-Version | 1.0 |
| X-Received | by 10.236.229.133 with SMTP id h5mr32779998yhq.64.1401547050034; Sat, 31 May 2014 07:37:30 -0700 (PDT) |
| In-Reply-To | <CACT3xuVs-RiJFcz0BWkzpvyp89Kg8Hg2UB=hJ9HR+PVhr-hKeA@mail.gmail.com> |
| References | <CACT3xuVs-RiJFcz0BWkzpvyp89Kg8Hg2UB=hJ9HR+PVhr-hKeA@mail.gmail.com> |
| Date | Sat, 31 May 2014 08:37:29 -0600 |
| Subject | Re: Optparse to parsing Suggestions !! |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| To | Python <python-list@python.org> |
| Content-Type | multipart/alternative; boundary=089e0160c36a0dad4804fab31a6b |
| 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.10508.1401547053.18130.python-list@python.org> (permalink) |
| Lines | 29 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1401547053 news.xs4all.nl 2847 [2001:888:2000:d::a6]:40677 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:72338 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On May 30, 2014 8:26 AM, "Ganesh Pal" <ganesh1pal@gmail.com> wrote: > > > Hello Python world , > > > I wanted suggestion on how to modify the below code to help me accomodate the below two cases Your question was answered already, but I'd like to point out that optparse is deprecated. If possible, you should use argparse instead.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Optparse to parsing Suggestions !! Ian Kelly <ian.g.kelly@gmail.com> - 2014-05-31 08:37 -0600
csiph-web