Jython调用Sikuli库方法

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()


你可能感兴趣的:(python,sikuli,python,jython,软件测试)