Stefan Seefeld wrote: > An alternative is not to use BOOST_PYTHON_MODULE at all, but set up > converters in ordinary C++ code. In the following I set up a Python > interpreter in my main application, inject a (C++) base class, run a > Python script that adds a derived class, then instantiate and run that > derived class from C++ code. I this may just be what you want:
Sure. That's what I'm doing (just within a submodule below main). But in your example - how do get simple c++ functions into the python scope which aren't members of any class? That's my problem. _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig