Argparse class method based instantiation

Joseph L. Casale jcasale at activenetwerx.com
Thu Jan 2 12:29:59 EST 2014


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




More information about the Python-list mailing list