Maxime pointed me this great example ExecutePythonScript() of running a python script from c++.
See https://plugincafe.maxon.net/topic/12439/reading-script-file-into-memory/4
I succeeded to compile this example in R20.
Now, because we still have user running R19, I want to do the same in R19.
Is this possible?
Is there a similar example for R19.
Especially, setting scope variables is really good and what I need.
I can use the example from https://plugincafe.maxon.net/topic/8164/10638_can-c-execute-python-solved/5, but that one does not support scope variables (I guess).