1. 先将sikuli-script.jar加到系统路径:
sikuliScriptPath = "../../lib/sikuli-script.jar"
sys.path.appand(sikuliScriptPath)
2. 然后就可以导入sikuli-script.jar库,调用其中的方法:
import org.sikuli.script
app = org.sikuli.script.App(appPath)
screen = org.sikuli.script.Screen()