← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #402441]: Parse a list of files and load them, instead than take a snapshot for each file

 

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

RaiMan proposed the following answer:
the script code in Sikuli(X) scripts is in fact Python language
(language level 2.7).

The interpreter used is the Java based Jython 2.7 (with SikuliX version 1.1.0+).
So you can just write down valid standard Python code.

No need to write the file list into a file so.

Just make a loop to fill a list and the make a loop with this list, to
do what you want with the filenames.

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