Stated here, one can invoke Jython in source code in Unix platforms.
I've installed Jython and put the directory in PATH in windows.
How could I set this up to invoke Jython from .py code automatically? Thanks.
Make the example more specific and clear:
#!/usr/bin/env jython
import sys
sys.path.append("./package.jar")
import org.abc.name
ImportError: No module named org.abc.name
And if I run Jython bar.py from cmd, it did work. But running Python bar.py fails with the error.