← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #685506]: how to use exe(use pyinstaller output)in sikuli

 

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

    Status: Open => Answered

Manfred Hampl proposed the following answer:
That is what I meant.

The error message does not come from Sikuli, but is coming from test.exe
(or test.py).

I suggest that you provide the full path to the 123.txt file in the
open() statement in test.py.

a = open('c:\\whatever_the_path_is\\123.txt')
for i in a:
     print(i)

This should then work outside and inside Sikuli.

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