From: Smith, J. A. <js...@co...> - 2001-02-07 22:29:59
|
I apologize for the cross posting (I am still trying to figure out the JPython/Jython mailing lists) and also if this has been asked before or if documentation is available elsewhere. I am trying to run a largish Python program from within a Java application using jython 2.0. The Python program runs without error using the jython.bat command. 1. How can I set up an embedded jython interpreter so it can find the libraries? The Python program uses a few basic library modules (such as string.) 2. Is there a way to package selected (or all) library modules so that they can live in the same jar as the application? I tried importing the class files (in Visual Age) and of course they could not be found. Thanks for your help, Jonathan |