← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #162326]: check whenever a list contains images

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
example for a list containing images in Sikuli:

list = ["image1.png", "image2.png", "image3.png"]

(in the IDE, the image thumbnails are shown, but if you hover over the
image, the image's filename is displayed)

so 
"image2.png" in list # should give True

and
"some-image.png" in list # should give False

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