From: Leo S. M. <leo...@gm...> - 2009-02-26 17:35:29
|
On Thu, Feb 26, 2009 at 12:51 PM, Jacob Fenwick <jac...@gm...> wrote: > I'm looking for the simplest possible tutorial for Jython for importing a > Java class. One that's not in the standard JDK. If it is on the CLASSPATH, it is the same as with classes bundled on the JDK. If it's not, you can add the jar file to the python path: >>> sys.path.append('/path/to/file.jar') And again, just import is as normal. -- Leo Soto M. http://blog.leosoto.com |