← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #197561]: Stored Images

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
The folder that contains the images has to be named Images.sikuli in
this case and must contain an (might be empty) Images.py for the import
to work.

So if images contains the images currently, this is the needed usage:

Images folder:
D:\GAAutomationSikuli\Global\images.sikuli

Usage in script:

myscriptpath1='D:\\GAAutomationSikuli\\Global'
sys.path.append(myscriptpath1)
import Images
reload(Images)

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