← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #221079]: sending values to a file

 

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

    Status: Needs information => Open

thomas gave more information on the question:
 f.write(" \n\n %s\n\n" % tc1)#report generation.
IOError: (9, 'Bad file descriptor')

---it is showing these errors.....
....how to solve this issue....

the following statement is opening the file:

f = open("C:/Users/arti/Desktop/New folder/file.txt")

But,
this statement

tc1 = 'HI'#value
inp.write(" \n\n %s\n\n" % tc1)#report generation.

is not able to write on the above mentioned file

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