sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17929
[Question #228550]: Running batch scripts becomes slowing down
New question #228550 on Sikuli:
https://answers.launchpad.net/sikuli/+question/228550
I have a group of batch scripts such as:
step1.sikuli, step2.sikuli, step3.sikuli and a main.sikuli which runs these scripts one by one.
After running several step scripts, the speed of the script running slow down.
Here is an example of the main.sikuli:
...
scripts = ["step1","step2","step3"]
for script in scripts:
scriptPath = os.path.join(Base_dir, script+".sikuli")
if not scriptPath in sys.path:
sys.path.append(scriptPath)
execfile(os.path.join(scriptPath, script+".py"))
...
How to flush the memory used by the finished step scripts? or anyway to make the speed of the script running not slow down?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.