Fredrik Lundh wrote:
"max(01)*" <[EMAIL PROTECTED]> 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
--
http://mail.python.org/mailman/listinfo/python-list
"max(01)*" <[EMAIL PROTECTED]> wrote:
> see what i mean?
not really, but maybe
arg = {"pc2": 666, "pc1": "Addio..."}
fun_con_pc(**arg)
is what you want?
--
http://mail.python.org/mailman/listinfo/python-list
hi there!
this post is somewhat a generalization of one previous question.
i was wondering if it is possible to pass an argument list as a
parameter to a function. example:
def fun_con_pc(pc1 = "Ciao!", pc2 = 42):
print pc1
print pc2
fun_con_pc()
fun_con_pc(pc1 = "Addio...")
fun_con_pc(pc2 = 66