title: use the return value of a python function through a c++ script
body: <p>I would like to call a  python function through  a c++ script. I know how to call a c++ function in a python code but no the other way. for example, I would like to use the return value of this python function in a c++ script like this: </p>
  
  <pre><code>import pandas as pd
  def concat(x1,x2):
  a = pd.DataFrame(pd.concat([pd.DataFrame(x1), pd.DataFrame(x2)], axis=1))
  return a
  </code></pre>
  
  #
  
  <pre><code>void Foot::update(){
  ccerr &lt;&lt; "Merge " &lt;&lt; PLate-&gt;me-&gt;vertIncl &lt;&lt; endl;
  con[a] = concat(model-&gt;getA(),model-&gt;getB())}
  </code></pre>
  
  <p>Is it possible?</p>