Package jline.util
Class PythonCaller
java.lang.Object
jline.util.PythonCaller
Utility class for calling Python scripts from Java
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcallPython(String pythonScript) Execute a Python script and return its output
-
Constructor Details
-
PythonCaller
public PythonCaller()
-
-
Method Details
-
callPython
Execute a Python script and return its output- Parameters:
pythonScript- The Python script to execute- Returns:
- The output from the Python script
-