[Baypiggies] importing variables into python namespace using argparse module
simeonf at gmail.com
Thu Sep 8 00:36:38 CEST 2011
On Wed, Sep 7, 2011 at 3:34 PM, Abhishek Pratap <abhishek.vit at gmail.com>wrote:
> **Here is what I dont understand.**
> Does this mean all the arguments returned by parser.parse_args() are a
> list even if they have one variable. May be I am missing a concept
Yes - but only if you specify the nargs argument when creating the argument.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Baypiggies