2005年5月9日


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.


Beside other interpreter environments ( Lisp, Perl, Tcl and CfgScript) ACDK also supports Python with its Dynamic Method Invokation (DMI) interface.

With the acdk_python library you can integrate a Python interpreter into ACDK application.
RPythonInterpreter pi = new PythonInterpreter();
pi->parse("print \"Hello World\"\n");
From inside the Python language all ACDK objects can be easely be accessed without generating any futher glue code:

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 Readme

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.

Install acdk_python

Describe how to compile/install acdk_python

acdk_python Manual

acdk_python contains an interface to an Pyton interperter and the DMI code to script ACDK objects from Python code.

acdkpython Manual

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.

The ACDK License Terms, LGPL

ACDK is available under the LGPL license.



Please refer also to:

AltStyle によって変換されたページ (->オリジナル) /