What is a dictionary in Python?
What is a dictionary in Python?
Set’s are special in that they cannot contain a duplicate of the same value, each value must be unique:
Tuple’s are advanced list which are made with rounded brackets:
Simple lists in Python.
None type means that nothing is assigned:
Anything stored in single or double quotes is seen as a string in Python, lets see some examples:
Its common practice to make variables which are outside of scope (outside of a function) capital:
Lets save an object into a variable:
To be able to create and interact with Maya objects you need to import the
Python has the benefit of being able to use both MEL and C++