← 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:
So, I made this

# runAll
import script1.sikuli
import script2.sikuli
popup('all done OK')
# end

==============
script1
==============
from sikuli import*

popup('script1 running ok')
==============

==============
script2
==============
from sikuli import*

popup('script1 running ok'
==============

Main module finishes with error (all scripts saved in the same folder)

import script1.sikuli
ImportError: No module named sikuli

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