argparse: delimiter for argparse list arguments

Dan Stromberg drsalists at gmail.com
Mon Aug 2 19:49:53 EDT 2021


Isn't -- usually used to signal the end of options?

On Mon, Aug 2, 2021 at 12:52 PM Sven R. Kunze <srkunze at mail.de> wrote:

> Hi everyone,
>
> maybe, I am missing something here but is it possible to specify a
> delimiter for list arguments in argparse:
>
> https://docs.python.org/3/library/argparse.html
>
> Usually, '--' is used to separate two lists (cf. git).
>
> Cheers,
> Sven
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>


More information about the Python-list mailing list