Sandro Dentella <[EMAIL PROTECTED]> wrote:

> I need to build-up an arg list to pass to a function. 
> 
> Suppose I have a dictionary:
> 
>   opts = { 'user' : 'jack', 'addr' : 'Green Str.'}
> 
> and I want to build a cmd line like this:
> 
>   select( user='jack', addr='Green Str.' )

select(**opts)

should fit the bill.  (it.comp.lang.python is the Italian newsgroup
about Python, by the way;-).


Alex
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to