beginner question on dinamin buiding of arg list

Sandro Dentella sandro at e-den.it
Sun Mar 5 20:12:37 CET 2006


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.' )

I'm clueless...

TIA
sandro
*:-)


-- 
Sandro Dentella  *:-)
http://www.tksql.org                    TkSQL Home page - My GPL work



More information about the Python-list mailing list