Would vars() help?  Check out this link:

http://www.daniweb.com/forums/thread134555.html

Jay

--

> 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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to