How to pass an array from C to an embedded python script
I am running to some problems and would like some help. I have a piece code, which is used to embed a python script. This python script contains a function which will expect to receive an array as an argument (in this case I am using numpy array within the python script). I would like to know how can I pass an array from C to the embedded python script as an argument for the function within the script. More specifically can someone show me a simple example of this. Really, the best answer here is probably to use numpy arrays exclusively, even from your C code. But if that's not possible, then