jderobot meets Python

jderobot is now able to load Python code with a new command “aload” allowing any kind of script to be loaded and executed inside an embedded interpreter. Thank you to the Python/C API this task has been easier. Most of the code to do it can be found here.
Now to load a Python script is as simple as:
jderobot $> aload hello.py
Loading hello.py…
Hello world!
jderobot $>

Future jderobot4.4 will be able to load schemas programmed in Python through Swig wrappers. Almost all the API will be available within Python and schemas will be able to “talk” to other ones, no matter their programming language.

Go to Source

jde, jderobot 1 Comment

Written by: