how to use exe(use pyinstaller output)in sikuli
Asked by
wu
i have the py and i want to use this in my sikuli so i use pyinstaller to output the exe and use app open(exe) or os.system(exe)
but my py include the txt path to do something when i use the exe in sikuli(1.1.4) and the sikuli will tell me can't find the txt。
EX: test.py
k = open('XXX.txt')
for i in k:
print(i)
and in sikuli:
os.system(
PS: the txt alaways toghter with the test.py
i use the sys.path[0] the sikuli will jump to sikuil's now path
have some anwser to fixed this?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask wu for more information if necessary.
To post a message you must log in.