Skip to content Skip to sidebar Skip to footer

Sikulix Bat File Not Running In Py Script

I have a .Bat file that executes a sikuliX command that refuses to launch from inside my Py Code. (All my other .Bat files work without issues) This is the code it is in: os.system

Solution 1:

You need to import sikuli library in your python code. Also, jython interpreter needs to be set up giving your sikuli jar path

1) To import sikuli library

from sikuli import *

2) To setup jython interpreter and sikuli, you'll need to use these settings in your pycharm editor settings

enter image description here

enter image description here

Post a Comment for "Sikulix Bat File Not Running In Py Script"