I am trying to call python method from my java file.
mypython.py
def ab():
print "i am calling"
myjava.class
public void call()
{
ab() // just want to call python method
}
I don't have any idea to do this.
When I search on google for this all info will say about jython. and I am not using jython. if it is possible to do without jython. or what is the best way to call my python code in java.