On Fri, Jan 30, 2015 at 9:09 AM, Robert Chen <robertchen...@gmail.com> wrote: > how to parse sys.argv as dynamic parameters to another function? > > > fun(sys.argv) > > in perl, this is very easy. please help.
Do you mean that you want each item of sys.argv to be passed as a separate parameter to the function? If so, then: fun(*sys.argv) -- https://mail.python.org/mailman/listinfo/python-list