Hi everyone, Ah, after some more searching and programming, I got it:
PythonInterpreter py = new PythonInterpreter(); py.set("interpreter", py); Thanks, Wojciech [EMAIL PROTECTED] wrote: > Hi everyone, > > I apologize if this is a bit off-topic. I am currently working on a > Java-based application that is used Jython as a scripting language > within the actual program. However, for one of my GUI elements, I need > to pass the actual PythonInterpeter to the constructor. > > I know that in Java there is the "this" keyword which allows an object > to refer to itself. Does anyone know if there is a way to use a similar > type of keyword to have the PythonInterpreter refer to itself? > > Thanks, > Wojciech > > P.S. > > If there is a more appropriate newsgroup to which I should post this, > please let me know. -- http://mail.python.org/mailman/listinfo/python-list