黄舟2017-04-17 17:11:30
Because of the use of nargs
. nargs
。
Note that
nargs=1
Note thatnargs=1
produces a list of one item. This is different from the default, in which the item is produced by itself.argparse documentation about nargs#🎜🎜#
reply0