[C++-sig] Re: import from c++?
David Abrahams
dave at boost-consulting.com
Wed Sep 8 15:01:02 CEST 2004
"Neal D. Becker" <ndbecker2 at verizon.net> writes:
> I have 2 modules written with boost::python.
>
> I have module A that exposes a class a, and now module B needs a. If a
> python program then imports A and B, it works fine. My question is, is
> there some way I can add code to the boost:python module B to cause
> importing of A?
PyRun_String("import a")
or whatever?
--
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
More information about the Cplusplus-sig
mailing list