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


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

Argparse class method based instantiation

Started by"Joseph L. Casale" <jcasale@activenetwerx.com>
First post2014-01-02 17:29 +0000
Last post2014-01-02 17:29 +0000
Articles 1 — 1 participant

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


Contents

  Argparse class method based instantiation "Joseph L. Casale" <jcasale@activenetwerx.com> - 2014-01-02 17:29 +0000

#62987 — Argparse class method based instantiation

From"Joseph L. Casale" <jcasale@activenetwerx.com>
Date2014-01-02 17:29 +0000
SubjectArgparse class method based instantiation
Message-ID<mailman.4796.1388683833.18130.python-list@python.org>
I have an Python3 argparse implementation that is invoked as a method from an imported
class within a users script __main__.

When argparse is setup in __main__ instead, all the help switches produce help then exit.
When a help switch is passed based on the above implementation, they are ignored?

Anyone seen this and or know of a workaround?

Thanks,
jlc

[toc] | [standalone]


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


csiph-web