I have fixed the import issue.  My issue now is – the PythonInterpreter.class does not support api get(String), however, the source code does have that api.


Why it happens? Can any one help?



Ying Moy


From: jython-users-bounces@lists.sourceforge.net [mailto:jython-users-bounces@lists.sourceforge.net] On Behalf Of Ying Moy
Sent: Thursday, November 08, 2007 11:47 AM
To: jython-users@lists.sourceforge.net
Subject: [Jython-users] New to Jython




I just read the article “Simple and Efficient Jython Object Factories” submitted by Charlie Groves in Oct 2006 and want to play the demo code.

Would anyone let me know how to

import org.python.core.PyObject;
import org.python.core.PyString;
import org.python.util.PythonInterpreter;


and where I should put the Employee.py file


I use Eclipse to create the demo project.