This is my first post. I’m new to Rhino and Python.
I’m writing a script in python using Rhino Python Editor and I would like to distribute it to my customers who are using both Windows and Mac versions of Rhino. But I would not like to expose the source code to them.
Probably one method would be to use the clr.CompileModules function.
Have a look at this function on these two pages, so you can have an idea on how it works:
I am not sure what you are trying to do exactly (this discussion is 2 year old). A possibility is that the process does not have access to the local folder, or the .dll “testdll.dll” is already in use so it cannot be rewritten, or something similar.