Python Integration
General
Information
- There are three Python interpreters integrated in the PLANTA software:
- CPython
- Jython
- IronPython
Details
- File directories:
- Servers: Python modules as script files (Cpython and Jython)
- Client: IronPython modules that can open Python functions (lib directory)
Client-Server RPC
Client Server Interaction in Python is enabled via the Client Server RPC Interface.
- For this purpose, client and server can offer services via which clearly defined operations for mutual execution are published.
- For safety-conscious service implementation, the RPC interface permits a safe access to functionality and resources.
- The functionality is made available in a transparent manner here: A function call of a published function returns return values in the same way as is done for local function calls.
- For longer todo items the return of which is irrelevant or only needed at a later point, you also have the option to make an asynchronous function call.