While developing i need to be compiling code all the time. I've reached a point where i realised my files where not reloading, no matter what i told them.
I have my code inside a button, after watching Sublime Text failing when executing reload code inside: if __name__== "__main__" : ... I moved all the code to my shelf button, i tried importing and reloading at the same time, just to make it all reload and execute the new file. But it doesn't print what i tell him. This is not reloading... The module contains some imports on the top and a class. // button code import moduleName reload (moduleName) from moduleName import className # doing * didn't work! reload(moduleName) # ??... just trying crazy things .... Yhy? Something i'm missing about python or compiler cache stuff in Maya? -- Lidia -- 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 python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAAB1%3D8wWQztaW0PwvXfAvrkEg7fyCdHq81-tuiwjH7_eZW4H%2Bg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.