B
bab mis
Hi ,
I have a function as below:
def func(**kwargs):
...
...
====
args="a='b',c='d'"
i want to call func(args) so that my function call will take a var as an parameter.
it fails with an error "typeError: fun() takes exactly 0 arguments (1 given)"
.. Is there any other way to get the same.
I have a function as below:
def func(**kwargs):
...
...
====
args="a='b',c='d'"
i want to call func(args) so that my function call will take a var as an parameter.
it fails with an error "typeError: fun() takes exactly 0 arguments (1 given)"
.. Is there any other way to get the same.