Default arguments with nargs in parse.add_option
parser.add_option("--option1", nargs=2, dest="option_var", default=0,
action='store',
help="run job for option")
Here I want make default value for my second argument to be 0. Will the
above option make my default value for the second argument to be zero ?
No comments:
Post a Comment