ResetScriptEngine before running
Would it be possible to introduce command ( short cut ) what is resetting Script Engine and then running script.
If some code outside of the code editor is changed then it is not used..
does "reload" solve your problem?
import yourCustomLibrary as cl
I would rather implement some sort of file watching system that notices your file changed and perform the appropriate action. Am I correct in assuming that you are importing a custom module in your main python script?
reload function works.
i try to develop reusable code in pyDev and projects them selves in Rhino Python Editor (it is easy to execute code there)
file watching is good idea and easy to implement using sticky dictionary.
Tags for this Thread