Hi,
 I am trying to do the following
Let´s say that I have a dictionary like this

myDic = {'config_type': u'high', 'config_path': u'C:\somePath'}

I want to create a function that will execute the following the dictionary 
items as parameters

def foo('config_type'= 'high', 'config_path': 'C:\somePath')

I can´t figure out how to do this. 
myDic will keep changing all the time, and I want to extract each time the 
items as parameters and execute the function
as explained above. The examples that I´ve read with **kwargs I am not sure 
if they apply here.

thank you


-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/30e22783-2e38-404e-8243-50a8d8126be2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to