I thought I figured it out with this :

*combine = dict(zip(holder, occurences) )*

But I get this error

# Error: 'dict' object is not callable
# Traceback (most recent call last):
#   File "<maya console>", line 1, in <module>
# TypeError: 'dict' object is not callable # 





On Friday, September 22, 2017 at 6:33:43 PM UTC-7, jettam wrote:
>
> I have two lists that I want to combine into a dictionary, one list for 
> keys, and the other for value.  Could someone help me with this. 
>
> for example :
>
> holder=[]
> occurences=[]
>
> dict={[key]:[values]}
>

-- 
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/c688dc7a-0763-4af4-9dd7-f352e78a5524%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to