Hi Justin, thanks for the reply.
I use msg{A,B,C} because if any one of the condition passed, the msg will
get appended with the next in-line error.
Eg. If only frame range fails, my `test_dict` will return as follows:
{'Frame Range Issue': [None,
'Value of Start/Min Frame is larger than the value
of End/Max Frame.'],
'Namespace Issue': [None, None],
'Selections Issue': [None,
'Value of Start/Min Frame is larger than the value of
End/Max Frame.']}
And hence my usage of A,B,C to differentiate them as I can't reuse the same
variable in which I am using defaultdict to differentiate them in this case.
appending string literals to the dictionary directly
>
Could you kindly elaborate more on this?
In general, I am trying to find out what is the best practice to go about
doing them :)
--
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/c40099fc-dce8-4987-a367-77c3616bae50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.