<div class="gmail_quote">On Fri, Mar 5, 2010 at 12:51, Neal Becker <span dir="ltr">&lt;<a href="mailto:ndbecker2@gmail.com">ndbecker2@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I generally enjoy argparse, but one thing I find rather<br>
ugly and unpythonic.<br>
<br>
    parser.add_argument (&#39;--plot&#39;, action=&#39;store_true&#39;)<br>
<br>
Specifying the argument &#39;action&#39; as a string is IMO ugly.<br></blockquote><div> </div></div>What else would you propose?<br>FWIW, this is the same in optparse.<br>