← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #258625]: best way to run script inside another script

 

Question #258625 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258625

    Status: Open => Answered

RaiMan proposed the following answer:
supposing all scripts as .sikuli are in the same folder.

add an additional main module

# runAll.sikuli
import script1.sikuli
import script2.sikuli
...

Take care: all imported scripts need at the beginning:
from sikuli import *

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