Re: [Rdkit-devel] [Rdkit-discuss] python/c++ interface again...

2012-06-04 Thread Paul Emsley
On 03/06/12 18:33, Paul Emsley wrote: > On 02/06/12 04:44, Greg Landrum wrote: >> Hi Paul, >> >> On Fri, Jun 1, 2012 at 1:41 PM, Paul Emsley >> wrote: >>> I've been trying to read boost python docs and I am lost... >>> >>> I'd like to return a PyObject *. I have a RDKit::RWMol, say - or a >>> p

[Rdkit-devel] boost.python C++ to python

2012-06-04 Thread Paul Emsley
Hi, I have a different question. I am in the C++ world. I want to get to the value returned by the python function default(mol) from the module silicos_it.descriptors.qed. And to do that, I'm following this: http://www.codeproject.com/Articles/11805/Embedding-Python-in-C-C-Part-I I can get