← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #642659]: Sikuli can no longer create new files

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
According to Python rules, file mode r does not create files, if they are not there, only w and a do that.
Here is a good explanation of the file modes:
https://stackoverflow.com/questions/1466000/python-open-built-in-function-difference-between-modes-a-a-w-w-and-r

So it might be, that it worked with an older version of SikuliX which
had Jython 2.5 on board (which then was an incompatibility)

Latest SikuliX has Jython 2.7 on board, which works as expected.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.