New question #140267 on Sikuli:
https://answers.launchpad.net/sikuli/+question/140267
i'm trying to write into txt file my actions but it fail
exm.
if exists(img.png):
dir = "c:\\...."
logfile = file(dir + "txt.txt", "w")
logfile.write("ok")
logfile.close
if exists(img2.png):
dir = "c:\\...."
logfile = file(dir + "txt.txt", "w")
logfile.write("ok2")
logfile.close
it always writes me the same ok and not checking all pictures.png
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp