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 the PyObject * for the default() function. I need to load a tuple for the argument list with a PyObject * representation of a const RDKit::ROMol &. From what Ralf says, I need to construct a boost.python object (how do I do that?) and use its ptr() function to get a PyObject *. AFAICS, I don't want to use def() because I don't want a function. I look at this http://mail.python.org/pipermail/cplusplus-sig/2010-February/015216.html and http://wiki.python.org/moin/boost.python/PeekUnderTheHood but the description to the details seems to have gone away. Thanks, Paul. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Rdkit-devel mailing list Rdkit-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-devel