← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #692562]: When and where Sikuli.py file is being run by Sikulix

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Ok, you are digging around ;-)
... just on the way to answer your other question.

Sikuli.py is executed every time, when an

from sikuli import *

is issued

This is done internally in the IDE for main scripts automatically (run is triggered in the IDE via run button), before running the script.
Other scripts, that are imported at runtime and use SikuliX features, must have a 
from sikuli import *
usually at the top of the script.

... and now wait for my answer on your other question.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.