← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #197172]: Problem importing the sikuli module into python

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
No need to download anything - all is contained in Sikuli.

Look at faq 1804 for the unittest basics.

As a start, put all .sikuli scripts in one directory my-scripts and run
the main-script.sikuli after going to that directory on command line
with:

java -jar path-to-sikuli-script.jar main-script.sikuli

If you do it this way, the only thing needed is having "from sikuli import *" in every script, that is imported. 
Sikuli's import support finds scripts to import in the same directory anyway.

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