← 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: Answered => Open

retano is still having a problem:
for some reason still does not work

I run it via command while IDE is closed:
R:\work\Sikuli-r931-win32\Sikuli-IDE\Sikuli-IDE.exe -r R:\main.skl

it returns an error: ImportError: No module named script1

the main script (saved and exported into the same folder, root of R:\)
#
from sikuli import*
# runAll
wait(1)
import script1
wait(1)
import script2
popup('all done OK')
# end

the script1 (saved into the same folder, root of R:\)

#
from sikuli import*

popup('script1 running ok')
#

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