Question about apply

2009-09-03 Thread jorma kala
Hi, I'm using apply to pass keyword arguments as a dictionary to a funcion at runtime (which keyword arguments to pass is only known at runtime) apply is very handy for this, because it takes a dictionary of keyword arguments directly def f1(a=None,b=None,c=None): pass kw={'a':1}

Re: Question about apply

2009-09-03 Thread Gary Herron
jorma kala wrote: Hi, I'm using apply to pass keyword arguments as a dictionary to a funcion at runtime (which keyword arguments to pass is only known at runtime) apply is very handy for this, because it takes a dictionary of keyword arguments directly def f1(a=None,b=None,c=None):

Re: Question about apply

2009-09-03 Thread jorma kala
Many thanks!! On Thu, Sep 3, 2009 at 4:21 PM, Gary Herron gher...@islandtraining.comwrote: jorma kala wrote: Hi, I'm using apply to pass keyword arguments as a dictionary to a funcion at runtime (which keyword arguments to pass is only known at runtime) apply is very handy for this,

Re: Question about apply

2009-09-03 Thread MRAB
jorma kala wrote: Hi, I'm using apply to pass keyword arguments as a dictionary to a funcion at runtime (which keyword arguments to pass is only known at runtime) apply is very handy for this, because it takes a dictionary of keyword arguments directly def f1(a=None,b=None,c=None): pass