New question #166807 on Sikuli:
https://answers.launchpad.net/sikuli/+question/166807

Hello,
I am having a problem writing test results to a file in a Sikuli script.
...
sts = wait(...)
fp = open("c:Test_results.txt","w")
if sts.getScore() < 0.5 :
  fp.write('Test 1 Failed')
else:
  fp.write('Test 1 Passed')
fp.closed

This fails on oening the file with IOError: (13, 'EACCES', 'c:Test_results.txt')
sts is the match result.
I'm running Windows 7 32 bit as administrator.
Any ideas?
Regards,
Mike

-- 
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     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to