← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #216288]: how to loop the creation of a file containing a list, from wich an element is extracted, and a new file containing the reduced list, is created.

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
The only possible error source in this statement is
str(x + 1)

and this can only be, if x does not contain a number, but a string in
this moment.

So make sure, that x contains the number, when this line is processed.

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