With acdk_python, you can instrument a Python interpreter inside of your acdk application and you are able to have access to all ACDK-Objects in your Python environment.
RPythonInterpreter pi = new PythonInterpreter(); pi->parse("print \"Hello World\"\n"); |
def foo(string1, string2): sb = acdk.Object("acdk/lang/StringBuffer", string1) sb.append(string2) return sb.toString() acdk.peek_static("acdk/lang/System", "out").println(foo("Hello Python", " from ACDK")) |
The executable acdkpython provides a simple command line Python interpreter.
Sub chapter pages: ACDK Python (acdk_python)With acdk_python, you can instrument a Python interpreter inside of your acdk application and you are able to have access to all ACDK-Objects in your Python environment.
Describe how to compile/install acdk_python contains an interface to an Pyton interperter and the DMI code to script ACDK objects from Python code. acdkpython is a small wrapper to the commanline Python interpreter bind to ACDK. ACDK General installation notice This is a generic installation for ACDK packages. ACDK is available under the LGPL license. |