Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #67093
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ganesh1pal@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.06; 'optparse': 0.09; 'subject:command': 0.09; 'subject:parsing': 0.09; 'subject:using': 0.09; 'xor': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'subject:options': 0.16; 'to:addr:web.de': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'stick': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'options': 0.25; 'subject: : ': 0.26; 'pass': 0.26; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'work.': 0.31; 'worked': 0.33; 'subject:the': 0.34; 'received:google.com': 0.35; 'thanks': 0.36; 'should': 0.36; 'pm,': 0.38; '26,': 0.68; 'hints': 0.68; 'default': 0.69; 'otten': 0.84 |
| 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 :cc:content-type; bh=hlqIitGyCO4cCMFG8zWeGWE1dPPZdoM8/3q4PrvYQRM=; b=T6VrRY4Y8Qs3UArONuKmPmvCvZ5oouWVGIlPEnYHoMGFw6R+Ejb5OliwwVrAgybU0Z uuVVdTciN13BDSlx9YXiHOnmx+lsxMblx2OFuve8+4PCz0p0noaikFzQRBzw6MrjVqEB ol/cacEgEAvSighCGepnjVTeZ3FriqgYYpP5UVCoNznzzX4fS9gmxaifFuYjlPk/2lE5 5P/SrtaEnrEy3ec2ioJrdhv3YNMpDLayI6GJIBswSTiXzJmnYTmt5JMZy2dL1Fr1v9H4 Xvbkx+/QUiHsUSyRuwPM6zThKMCVI3rGVPXzPJ3/U7U8ix4IqJB11FKYxOYY0dmr46dF +0BQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.112.204.104 with SMTP id kx8mr2409661lbc.12.1393422120314; Wed, 26 Feb 2014 05:42:00 -0800 (PST) |
| In-Reply-To | <lekj1t$v7n$1@ger.gmane.org> |
| References | <CACT3xuWuV8omgE6oV0PNGfwdf-yrO3KPbjHtu=B+NHNuOhA_Jw@mail.gmail.com> <leig4s$ri5$1@ger.gmane.org> <CACT3xuUGtsER0B3xwAB2CqQ5Zb=v72w8+DQkaYz681xeSeJ2CQ@mail.gmail.com> <lekj1t$v7n$1@ger.gmane.org> |
| Date | Wed, 26 Feb 2014 19:12:00 +0530 |
| Subject | Re: Python : parsing the command line options using optparse |
| From | Ganesh Pal <ganesh1pal@gmail.com> |
| To | Peter Otten <__peter__@web.de> |
| Content-Type | multipart/alternative; boundary=001a11c3c7f080ec0a04f34f5eca |
| Cc | python-list@python.org |
| 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.7392.1393422127.18130.python-list@python.org> (permalink) |
| Lines | 56 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1393422127 news.xs4all.nl 2890 [2001:888:2000:d::a6]:37916 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:67093 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Wed, Feb 26, 2014 at 4:57 PM, Peter Otten <__peter__@web.de> wrote: > > If you stick with optparse just pass the options without '=' > > -qXOR > > and > > -q XOR > > should both work. > > Thanks Peter and Simon for the hints it worked : ) without ' =' # Python corrupt.py -o INODE -p /ifs/1.txt -q SET -f 1 Current Default Choice : Choice: INODE Choice: SET Choice: 1
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Python : parsing the command line options using optparse Ganesh Pal <ganesh1pal@gmail.com> - 2014-02-26 19:12 +0530
csiph-web