Yep, like Chetan said, use the reload.
import util reload(util) #if you want to call functions in util without mentioning util use an import * as well from util import * -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to SikuliX. https://bugs.launchpad.net/bugs/2015283 Title: [2.0.5] IDE: import sub as su and from sub import * need IDE restart on changes in sub --- workaround Status in SikuliX: In Progress Bug description: follow up on GitHub: https://github.com/RaiMan/SikuliX1/issues/576 ------------------- workaround only use import sub ------------------------------------- I use IDE version 2.0.5, and I'm working with two files: -index.sikuli -utils.sikuli Imagining that I make a change in the utils.sikuli file, for example in a print("123") to print("234"), and after saving the file, when I run it, it continues to print "123". I need to restart the IDE for it to get it to print the "234". I've been investigating and I'm not even able to find a solution, from for example setting sikuli.properties to not keeping the cache, or using the reload method. Sorry if this is a dumb question, and my poor English To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/2015283/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp