27.08.2019 Views

Jython(Java and Python Intergration)

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Python</strong>Interpreter :<br />

Ramireddy A<br />

‣ Download jython-st<strong>and</strong>alone-2.7.0.jar - For embedding <strong>Jython</strong> in <strong>Java</strong> applications<br />

from their official downloads page: http://www.jython.org/downloads.html <strong>and</strong> include<br />

this jar file in <strong>Java</strong> CLASSPATH environment variable.<br />

‣ This library contains the <strong>Python</strong>Interpreter class.<br />

‣ Using the object of this class, any <strong>Python</strong> script can be executed using<br />

the execfile() method. The <strong>Python</strong>Interpreter enables you to make use<br />

of PyObjects directly.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!