[C++-sig] Boost.Python Problem
alexandre monti
amont65 at hotmail.fr
Wed May 26 15:41:28 CEST 2010
Hello !
I would extend embedded python, so the code is in the main :
int main(int argc, char* argv[])
{
Py_Initialize();
object main_module((handle<>(borrowed(PyImport_AddModule("__main__")))));
object main_namespace = main_module.attr("__dict__");
}
I've read that the error is specific to Mac OSX in this case, but the post was very old.
Thanks,
Alexandre MONTI
_________________________________________________________________
Installez gratuitement les nouvelles Emoch'ticones !
http://www.ilovemessenger.fr/emoticones/telecharger-emoticones-emochticones.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20100526/6c909c1a/attachment.html>
More information about the Cplusplus-sig
mailing list