passing keyword args as a parameter

max(01)* max2 at fisso.casa
Tue Mar 29 17:38:12 CEST 2005


Fredrik Lundh wrote:
> "max(01)*" <max2 at fisso.casa> wrote:
> 
> 
>>see what i mean?
> 
> 
> not really, but maybe
> 
>     arg = {"pc2": 666, "pc1": "Addio..."}
>     fun_con_pc(**arg)
> 
> is what you want?

precisely! thanks a lot!

macs



More information about the Python-list mailing list