how to parse sys.argv as dynamic parameters to another function?

Skip Montanaro skip.montanaro at gmail.com
Fri Jan 30 11:16:24 EST 2015


On Fri, Jan 30, 2015 at 10:09 AM, Robert Chen <robertchen117 at gmail.com> wrote:
>
> how to parse sys.argv as dynamic parameters to another function?
>
>
> fun(sys.argv)


Not sure what you mean by "dynamic", but I think you already have it,
assuming fun is a function which accepts a single list of strings as
its argument.

Skip



More information about the Python-list mailing list