← Back to team overview

sikuli-driver team mailing list archive

[Question #166845]: clear imported Sikuli Scripts?

 

New question #166845 on Sikuli:
https://answers.launchpad.net/sikuli/+question/166845

How can i clear previously imported Sikuli Scripts? 
Even after closing Sikuli IDE and reopening it changes to some imported scripts are not taking affect. 
So i'm looking for a way to clear previously imported scripts or a way to force a new import to overwrite an old one. 

Currently I have this statement in all scripts that are imported:
from sikuli.Sikuli import *
and this statement in all scripts that initiate the import:
import os
myPath = os.path.dirname(getBundlePath())
if not myPath in sys.path: 
	sys.path.append(myPath)
import <Sikuli_Script>

I am running on Windows XP and have the latest Sikuli version. 

Thanks!

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.