Package jline.util

Class PythonCaller

  • All Implemented Interfaces:

    
    public class PythonCaller
    
                        

    Utility class for calling Python scripts from Java

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      PythonCaller()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static String callPython(String pythonScript) Execute a Python script and return its output
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PythonCaller

        PythonCaller()
    • Method Detail

      • callPython

         static String callPython(String pythonScript)

        Execute a Python script and return its output

        Parameters:
        pythonScript - The Python script to execute
        Returns:

        The output from the Python script