codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Was: Dynamic Data type assignment


On Thu, 30 Jan 2020 20:40:50 +1300
DL Neil via Python-list <python-list at python.org> wrote:

> Why do we have [argparse] at the cmdLN and yet not have something
> similar for input?

Because argparse works on input, too?

Many examples on https://docs.python.org/3/library/argparse.html?
explicitly pass a list of strings to parser.parse_args instead of
letting that function default to the list of command line arguments.

? e.g., https://docs.python.org/3/library/argparse.html#parents

Dan


-- 
?Atoms are not things.? ? Werner Heisenberg
Dan Sommers, http://www.tombstonezero.net/dan