vegetax wrote:
> if i have a dictionary:
> d = {'a':2,'b':3 }
> l = (1,2)
>
> how can i pass it to a generic function that takes variable keywords as
> arguments? same thing with variable arguments, i need to pass a list of
> arguments to the function
>
> def asd(**kw): print kw
> def efg(*arg):
On Tue, 15 Mar 2005 03:48:40 -0400, vegetax wrote:
> if i have a dictionary:
> d = {'a':2,'b':3 }
> l = (1,2)
>
> how can i pass it to a generic function that takes variable keywords as
> arguments? same thing with variable arguments, i need to pass a list of
> arguments to the function
>
> def
--- vegetax <[EMAIL PROTECTED]> wrote:
> how can i pass it to a generic function that takes variable
> keywords as
> arguments? same thing with variable arguments, i need to pass a
> list of
> arguments to the function
>
> def asd(**kw): print kw
> def efg(*arg): print arg
>
> asd(d)
> doesnt wo
if i have a dictionary:
d = {'a':2,'b':3 }
l = (1,2)
how can i pass it to a generic function that takes variable keywords as
arguments? same thing with variable arguments, i need to pass a list of
arguments to the function
def asd(**kw): print kw
def efg(*arg): print arg
asd(d)
doesnt work
asd