Jython
A module that allows you to execute Python code in BoxLang
# For Operating Systems using our Quick Installer.
install-bx-module bx-jython
# Using CommandBox to install for web servers.
box install bx-jythonUsage
jythonEval( "print('Hello World')" );jythonEvalFile( "path/to/file.py" );# mymodule.py
def hello():
return "Hello World"jythonEvalFile( "path/to/mymodule.py" );
var result = jythonEval( "hello()" );
print( result );Bindings
Result
GitHub Repository and Reporting Issues
Last updated
Was this helpful?
