Public feed #889724

how to embed python easily

public java v1 · immutable
Raw Edit
·published 2008-02-03 03:35 UTC
rendered paste body
        pyInterp=new PythonInterpreter();	pyInterp.execfile(in);		PyObject module=pyInterp.eval(MainClassName+"()");	pyModule=(MainClass)module.__tojava__(MainClass.class);