Hey man, I did something similar to this a short while back.
Take a look at this code, It basically does what you want but it executes scripts on directories one script at a time and it takes the file path of the script rather than using import dir.script as s etc. https://gist.github.com/ben-hearn-sb/bd25face0beb0f00397f On Sunday, 27 December 2015 18:25:48 UTC+1, Rudi Hammad wrote: > > Okey right now my brain hurts a little XD. I should study all that slowly. > Thanks! -- 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/51aca7ef-7984-4c38-9614-72bbe12c6d23%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
