← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #238021]: calling a sikuli file

 

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

RaiMan proposed the following answer:
This will work in IDE also.

Using execfile() has the advantage over all other possible solutions,
that the executed code runs in the context of the main script (all names
are known to the executed code).

I think I should implement an include() feature, that handles the sikuli
specifics, finds .sikuli scripts on sys.path and uses execfile()

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