Python script not updating on Rhino

Hello,

Yes this is because IronPython caches the previously executed script to save time rerunning it.

Let’s say your script is saved in a file called mymodule.py. You can use this script at the top of your file to reload it each time it runs:

import mymodule
from imp import reload

reload(mymodule)
3 Likes