← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #191810]: Writing to a file

 

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

    Status: Open => Answered

Roman Podolyan proposed the following answer:
1) Check if path is correct

2) Try to double "\" chars in your path.

myLog = open("C:\\123.txt", "w")
myLog.write("hello!"+"\n")
myLog.close()

- this works for me now.

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