I am really new to Java / Eclipse and I am trying to do this Jython tutorial .
I do not understand where I should put my python files in the directory structure of the IDE tree. I tried to place the file in several places without success (I have to skip something). This is the error message I get:
<module 'sys' (built-in)>
Exception in thread "main" Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named Employee
My tree directory structure for this tutorial is as follows:
JythonTest
EDIT . Therefore, I partially answer myself, because in the first part I found this link with explanations of the same situation, and it works!
, python, - ? , - :
PySystemState sys = Py.getSystemState();
sys.path.append(new PyString("isItHereThatIShouldPointToJython-2.5.2.jar???"));
- ?
.