← 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: Answered => Open

Pablo Frank is still having a problem:
Now i get:

[error] Stopped
[error] An error occurs at line 12
[error] Error message: Traceback (most recent call last):
 File "C:\Users\Pablo\AppData\Local\Temp\sikuli-tmp3802907612592381101.py", line 12, in 
 outp = open("C:\\python_texts\\"+str(x + 1)+".txt","w") #write the result (of the below 'for') in
TypeError: cannot concatenate 'str' and 'int' objects

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