sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #30916
Re: [Question #263314]: Python package "Tkinter": ImportError ( No module named Tkinter ) --- not available with Jython
Question #263314 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/263314
Status: Open => Answered
RaiMan proposed the following answer:
see here:
http://www.jython.org/faq3.html
the reason behind:
only non-Python-Core modules completely written in Python language can be used out of the box with Jython (like the Excel support).
all these modules like Tkinter internally make heavy use of C-based
code, which is ok with (C-)Python, since it is C-based itself.
But Jython is Java based and hence one has to port a not supported
module to Java, which nobody has done for Tkinter.
If you want to build and use GUI's in Jython, you have to use a Java
based library or the Java features itself like AWT/Swing.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.