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


Groups > comp.lang.python > #67093 > unrolled thread

Re: Python : parsing the command line options using optparse

Started byGanesh Pal <ganesh1pal@gmail.com>
First post2014-02-26 19:12 +0530
Last post2014-02-26 19:12 +0530
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python : parsing the command line options using optparse Ganesh Pal <ganesh1pal@gmail.com> - 2014-02-26 19:12 +0530

#67093 — Re: Python : parsing the command line options using optparse

FromGanesh Pal <ganesh1pal@gmail.com>
Date2014-02-26 19:12 +0530
SubjectRe: Python : parsing the command line options using optparse
Message-ID<mailman.7392.1393422127.18130.python-list@python.org>

[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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web