On 20/09/2013 16:51, bab mis wrote:
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)
On Friday, September 20, 2013 10:51:46 AM UTC-5, bab mis wrote:
> 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
>
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