Thanks man, I appreciate the feedback. Needless to say that I'm not working only on a test script, but I have something else up my sleeve. Would you like to give it a try when I am done with it?
Cheers P.S. I'm still trying to understand why i have to remove the empty parentheses when calling the callable function. I've been looking around the internet but I can't find an answer. :( To make it clearer, why command = my_function instead of command = my_function() I think I am missing something syntax-wise. On Thursday, 17 July 2014 21:57:17 UTC+2, Justin Israel wrote: > > Definitely not the first one. Avoid relying on globals when possible. > The second and third are equally fine right now. But if you start needing > more state such as storing more widgets or values, then the class will end > up becoming the better choice. > >> >> -- 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/630eee2f-b4db-4c0c-a164-2bf33bfa7ad7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
