3 ms·
I think argparse covers most of the points mentioned as desirable in this article. * validate at start (using the type keyword argument for add_argument) * acc
by zelphirkalt 7y ago
I think argparse covers most of the points mentioned as desirable in this article.
* validate at start (using the type keyword argument for add_argument)
* access by name as identifier, not string
And what is more is, that default values are stored with the configuration, plus you add a help text for telling everyone what the argument is for.
One downside is that you command line call gets longer.