sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25763
Re: [Question #248336]: Problem to write a txt file
Question #248336 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/248336
Status: Open => Answered
Eugene S proposed the following answer:
Hi,
I think that the issue in your "New code" is that you are trying to
write a list type variable to a file. If that's what you are trying to
do, try to use "writelines" instead of write:
f.writelines(text)
As for your initial code, try to change the path to include only English characters. I believe that to be an encoding issue.
Cheers,
Eugene
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.