problem writing results to a file
Asked by
mike
Hello,
I am having a problem writing test results to a file in a Sikuli script.
...
sts = wait(...)
fp = open("c:
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_
sts is the match result.
I'm running Windows 7 32 bit as administrator.
Any ideas?
Regards,
Mike
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- mike
- Solved:
- Last query:
- Last reply:
To post a message you must log in.