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

    Status: Open => Answered

RaiMan proposed the following answer:
backslashes in strings must be doubled or use raw strings r"..."

with open("C:\\PythonScripts\\test.sikuli\\Log.txt", "a") as myfile:

or
with open(r"C:\PythonScripts\test.sikuli\Log.txt", "a") as myfile:

I am not sure wether the path C:\PythonScripts\test.sikuli must exist.

-- 
You received this question notification because your team Sikuli Drivers
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

Reply via email to