[python] pass the name of args
macm
moura.mario at gmail.com
Fri Jun 4 07:32:49 EDT 2010
Hi Folks
def myDef(x)
doSomething x
result = x.????
return coolThings
---------------------------------
WhatYourName = ('python','is','cool')
myDef(WhatYourName)
so what I am looking for in myDef
result = WhatYourName
----------------------------------
again :
IhaveOtherName = ('some','thing')
myDef(IhaveOtherName)
so what I am looking for in myDef
result = IhaveOtherName
----------------------------------
Is it possible with python?
Regards
macm
More information about the Python-list
mailing list