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

    Status: Open => Solved

Brian Cerny confirmed that the question is solved:
OK, it seems something is slightly different between the Jython REPL and
the Jython PhytonInterpreter class which is used internally in SikuliX.

In the REPL, i can do:
  from com.sun.jna.platform.win32 import *
but this does not work with the interpreter.

In the interpreter, I must do:
  from com.sun.jna.platform.win32 import Win32
and import each one separately

Maybe something to do with Java package scanning as detailed here:
http://www.jython.org/jythonbook/en/1.0/ModulesPackages.html#java-package-scanning

Not a SikuliX issue so I'm marking as solved since there is a reasonable
workaround.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to